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: Trigger activates only if a person is there  (Read 1185 times)

0 Members and 1 Guest are viewing this topic.

Offline JasonO

  • OFPEC Patron
  • ****
  • Oh no...
    • The New Life RPG
Trigger activates only if a person is there
« on: 31 Jul 2006, 16:26:58 »
Hi
I have a mission where a squad must go somewhere.

When they get to this location, I want it so the trigger wont activate unless a specific person is there with them. If this person isnt with them I want to do exit the script.

How would I possibly do this?

Thanks  :)

Offline MehMan

  • Members
  • *
Re: Trigger activates only if a person is there
« Reply #1 on: 31 Jul 2006, 16:55:16 »
Put this as a condition: person/objectyouwant in thislist
Shit happens.

Offline JasonO

  • OFPEC Patron
  • ****
  • Oh no...
    • The New Life RPG
Re: Trigger activates only if a person is there
« Reply #2 on: 31 Jul 2006, 17:10:30 »
Put this as a condition: person/objectyouwant in thislist

Works, thanks for your help ;)