Home   Help Search Login Register  

Author Topic: Trigger Help  (Read 2308 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 »