Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Determinate unit in trigger area  (Read 2008 times)

0 Members and 1 Guest are viewing this topic.

Offline BlackJackVr

  • Members
  • *
Determinate unit in trigger area
« on: 01 Mar 2007, 15:15:28 »
Simple question: i can set a trigger to be activated when a side is in the trigger area; how can i make it been activated when a particular unit is in the trigger area and not a generical unit of a side?

Thanks

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: Determinate unit in trigger area
« Reply #1 on: 01 Mar 2007, 16:39:07 »
Name your unit and check for his presence in the trigger area.

For example a unit called fred.

Trigger On activation field:

fred in thislist

On somesuch.


Planck
I know a little about a lot, and a lot about a little.

Offline Cheetah

  • Former Staff
  • ****
Re: Determinate unit in trigger area
« Reply #2 on: 01 Mar 2007, 17:01:56 »
Or synchronize the trigger with the guy you want to detect. Synchronize by drawing a line between the unit and trigger, press F2 (groups) before that.
Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions!