OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: ual002 on 25 May 2007, 19:22:38
-
How do i make a trigger activated smoke grenade for when I approach an LZ in my blackhawk from like 500 meters to pour out a specific color of smoke from a smoke grenade fo a specified period of time? Red=hotzone green=clear etc. Like 2 mins or so.
Ive found some trigger activated AP mine posts but I need a large radius trigger and a specified ammount of smoke. Anyone point me in the right direction. Editing Essentials: A Beginners Guide by Mack also helps but where the coding for it is, there are mixed in characters which look like this ^%#E(*&^ and i cant quite read whats going on. I belive that was a mistake.
Also, anyone know where in the editor the brick and mortar building w/ red cross on it is. I know about the tent, not what i need. I have the editor addon, but im not seeing it.
-
nameofunit fire "SmokeshellMuzzle"
unit must be equiped with smoke grenade to start ...
or
take a look at tiptoe boys i have something similar in there ... :)
-
what if i just wanted a smoke grenade on the ground to start smoking once i got close. Or would that be harder.
-
_smoker = "SmokeShellRed" createVehicle (getpos trigger)
then
_smoker setdammage 1
not sure of the new syntax...you'd have to look it up to be sure
If it's for MP...dunno..maybe createVehicleLocal
-
YIKES.. well MP coop, so yeah, it would be MP. Mucho Complicado!!!!
Ill give it a shot. Thnx
-
oh yes, sweet, I wa wondering how can I make a handgrenade to detonate in ArmA, this way works very well. :good: You didn't need to set damage to grenades in OFP, they would explode as soon as they where camcreated.
I just noticed, there is no flares in ArmA?
I have all this traps in the field, it would be nice to have some flares too.