Home   Help Search Login Register  

Author Topic: Trigger On The Ground  (Read 1060 times)

0 Members and 1 Guest are viewing this topic.

LAPD

  • Guest
Trigger On The Ground
« on: 30 Nov 2002, 00:34:28 »
How can I do a trigger which will be activated only if the unit is on the ground?

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Trigger On The Ground
« Reply #1 on: 30 Nov 2002, 01:35:14 »
I'd put this in the triggers condition field

getpos player select 2 < 1
« Last Edit: 30 Nov 2002, 01:36:43 by Black_Feather »

Offline Trapper

  • Honoured Contributor
  • ***
  • I'm a llama!
Re: Trigger On The Ground
« Reply #2 on: 27 May 2006, 12:24:09 »
If you want to use the trigger's conditions togehter with the height limit:
this and (getpos player select 2) < 1
You can replace player by the name of any unit.

Or if your trigger has to be activated by any possible unit that passes on the ground try:
this and (getpos (thislist select 0) select 2) < 1           (just guessing)

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re: Trigger On The Ground
« Reply #3 on: 27 May 2006, 12:45:28 »
Whatever you want to happen in the triger make it happen in a script. Name all your air units. Then make the script exit if any air units go through it. Or have it go back to the start of the script. Something like that.
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."