OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: HuNtA on 03 Sep 2002, 17:21:09

Title: Grenade scripting
Post by: HuNtA on 03 Sep 2002, 17:21:09
Could someone plz make a script that simulates a flashbang being used for my mission. It would help so much ;)


And, could someone plz make a script so that an airplane could use chaff to get rid of a missile
Title: Re:Grenade scripting
Post by: tai mai shu on 03 Sep 2002, 22:23:14
dang dude that'd be kinda hard to make the chaff script, and considering that you RARELY see the missile (missile smoke trails are horribly innacurate in ofp)  you only havea chance of seeing the missile in night.

for the  flashbang, youd have to do it with an addon, just make it grenade that doesnt have a kill radius???, and than when it detonates, every ai within 20-25 feet of it gets its auto-targeting ai take away, therefore it acts as if its blind and cant see you.  you could make it fire at some object to similate the tango firing out of panic.  you could also use the whiteout efect to simulate yourself going blind fromt eh flash, and you could play a "ringing" sound.
Title: Re:Grenade scripting
Post by: icarus_uk on 03 Sep 2002, 23:00:03
There is already a flashbang.  Its an addon that comes with the SEB rangers (I think its them).
Title: Re:Grenade scripting
Post by: HuNtA on 05 Sep 2002, 13:42:29
Thanks alot. I'm happy now after a bad day 8)