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 Help  (Read 3022 times)

0 Members and 1 Guest are viewing this topic.

Offline Chris1986

  • Members
  • *
Trigger Help
« on: 20 Feb 2010, 10:12:35 »
Ive been trying to create a mission where there is a IED that will go off if " BLUFOR " enter the trigger without carrying a certain item e.g a weapon . Im pretty sure its going to be simple but im not getting anywhere with it so thought id ask.

so far i have .

1x Random Object named obj1
Triggers -

Code: [Select]
[ For the IED ]
Name : IED1
Cond : This
OnAct : ied1 = "R_57mm_HE" createvehicle getpos obj1

[ For The Countermeasure ]

Cond : player hasweapon " WEAPON "
OnAct : IED1 = false

Im pretty sure its going to be easy but im not too good with triggers so i thought id ask. Any help would be great !



I got it working !! Thanks to soccerboy over at BI Forums.

Link : http://forums.bistudio.com/showthread.php?t=95643
« Last Edit: 20 Feb 2010, 23:23:41 by Chris1986 »