OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SB777 on 21 Sep 2003, 19:18:21

Title: satchels
Post by: SB777 on 21 Sep 2003, 19:18:21
if i have satchels already on the map how do i make them detonate?

I know thers one mission in the original campaign where you are a spec ops and set them off by radio; this is what im hoping to acheive but i don't know how :(

all help would be muchly appreciated! :D

by the way don't think any of you will remember me but my old user was deusrich AGES ago... i remember a lot of people on here though :) (ill stop spamming now)

so any help?
Title: Re:satchels
Post by: _hammy_ on 21 Sep 2003, 19:47:42
you can just camcreate a bomb on them :)

Code: [Select]
_bomb = _this select 0

; camcreate the laserguidedbomb on the satchel
"LASERGUIDEDBOMB" camCreate getpos _bomb
~1
; now you need to make the satchel disappear (i think deletevehicle works, never used it before)
deletevehicle _bomb


useage: [bomb_name] exec "blowup.sqs"
Title: Re:satchels
Post by: dmakatra on 21 Sep 2003, 19:57:19
Welcome Back! (http://burns.thefinaldimension.org/cwm/3dlil/lurk.gif)