OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Resources Beta Testing & Submission => Topic started by: nt3n on 04 Jan 2003, 20:13:47

Title: Timer bomb on car
Post by: nt3n on 04 Jan 2003, 20:13:47
This is my first script and simulates the explosion of a bomb set on a car after a timer of x seconds has activated!!!

download it here!!

if you find some bugs, report them at my email, or using this forum!!!

credits:
nt3n: code

thanks to g3n3s1s for beta testing...

nt3n  ::)
Title: Re:Timer bomb on car
Post by: nt3n on 06 Jan 2003, 18:03:20
as someone noticed, there is a little mistake in the demo mission i released with the script as the init field said

this addaction ["Blow bomb (30 sec)", "arm.sqs"]

and that's wrong because arm.sqs was the original name of the script that i changed just before uploading it here with blowbomb.sqs, but in the mission i did not... sorry...

to fix the bug, just type:

this addaction ["Blow bomb (30 sec)", "blowbomb.sqs"]


sorry  :-\  ;D

nt3n
Title: Re:Timer bomb on car
Post by: Loc-Dog on 14 Jan 2003, 04:15:28
I would suggest you use this simple line to blow up stuff instead
Code: [Select]
Bomb="laserguidedbomb" Camcreate(getpos unit)It can explode a chopper in mid air as well.