OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Pr0ph3t on 14 Mar 2005, 22:31:02

Title: Satchel charge question
Post by: Pr0ph3t on 14 Mar 2005, 22:31:02
- Can I teleport a satchel charge to an X,Y,Z coord

- Can I detect if it has been disarmed

- How do I detonate via trigger?
Title: Re:Satchel charge question
Post by: bedges on 15 Mar 2005, 14:35:01
as far as i know, the only way to place a satchel charge which remains active (i.e. can be detonated) is by using a phantom loon, setpos'ing him into place and using

Code: [Select]
loon_name fire ["put","pipebomb"]
lay the charge. then remove the loon to about 200 metres away, set to stealth and so on to hide him, then activate with a trigger using

Code: [Select]
loon_name action ["touchoff"]
as for detecting whether it's still active, not sure. anyone?
Title: Re:Satchel charge question
Post by: macguba on 15 Mar 2005, 17:17:55
I believe the charge will only go off if the mission designer orders it, so by definition you know whether its active or not.
Title: Re:Satchel charge question
Post by: Homefry31464 on 15 Mar 2005, 18:35:44
I don't really know the answers to the first two questions.   For the third... I imagine satchelname setdammage 1 may do the trick.
Title: Re:Satchel charge question
Post by: bedges on 16 Mar 2005, 20:32:33
just did a quick search. i believe this thread (http://www.ofpec.com/yabbse/index.php?board=8;action=display;threadid=22618;start=0) is what you may be looking for.

cheers :)