OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: angora on 12 Aug 2004, 21:06:42
-
i was wondering if there was a script for an explosion activated when a unit walks into an area (to simulate a carbomb) that can be used in a cutscene (not the mission).
-
In short:
Create a Trigger, <side> Present, or group it with the unit.
On Activation:
"laserguidedbomb" camCreate getPos (thislist select 0)
Or you could search the editors depot and forums for car bomb, you should get pretty good results from that. (There was a recent thread somewhere)
-
name the car as pimpmobile1
name the dude as meanmotha
insert a trigger with
radius: 0x0
condition: meanmotha distance pimpmobile < 5
on activation: bubbabomb = "mortarshell" camcreate getpos pimpmobile
-
Like Mud spike said. Editor depot has 5 or more car bomb scripts and my explosion script too....
-
dude i found a great carbomb. Its called pcpickup. There a bunch of white Toyotya pickups. the carbomb cunts as a weapon, so its activated when you hit the fire button. I dont know how the AI handles it, though. THeres also a pcpickuo_mg and pcpickup_rpg. srry, cant remember who mad em.