OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: angora on 12 Aug 2004, 21:06:42

Title: KA-BOOM
Post 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).
Title: Re:KA-BOOM
Post by: Mud_Spike on 12 Aug 2004, 21:09:54
In short:
Create a Trigger, <side> Present, or group it with the unit.
On Activation:
Code: [Select]
"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)
Title: Re:KA-BOOM
Post by: Artak on 12 Aug 2004, 21:12:52
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
Title: Re:KA-BOOM
Post by: Dubieman on 12 Aug 2004, 22:29:16
Like Mud spike said. Editor depot has 5 or more car bomb scripts and my explosion script too....

Title: Re:KA-BOOM
Post by: HUSTLA23 on 26 Aug 2004, 06:13:22
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.