OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: ljej on 18 Jun 2003, 16:24:26

Title: Satchel Charges
Post by: ljej on 18 Jun 2003, 16:24:26
Good Evening to you all,
          Is it possible and if so how would you do it set of a satchel charge that you place in the editor and then set of with a trigger either by east west etc,who sets it off isnt an issue,I know there isnt satchel charges in the editor but i want a charge to go off with the same force as one.Thanks guys and if your answer is a script pls give as much information on how to use the script as possible as i am a scripting moron and i dont understand them. Thanks again.
Title: Re:Satchel Charges
Post by: Burn on 18 Jun 2003, 18:00:14
bomb="PipeBomb" camcreate getmarkerpos "markername"
But I don't know how to touch it off, since the only way to do that is to give a action-command to a unit.
Unitname action ["Touch Off","PipeBomb"]

[thislist select 0] action ["Touch Off","PipeBomb"] would make hwoever activates the trigger touch off the bomb... I think. :-\

[edit]
 :-\errr... on second thought, I don't think that last is possible ::)... :P
Title: Re:Satchel Charges
Post by: MPKING on 18 Jun 2003, 21:44:07
well.. couldn't he camcreate a GBU-bomb instead?
That thing would go off right away.. i think ;D
Title: Re:Satchel Charges
Post by: Igor Drukov on 18 Jun 2003, 21:56:13
Well, you could try to create a timebomb instead : it looks like an SC and it definitely blows up as powerfully as an SC.
Thing is, it blows up exactly 20 seconds after creation...

Code: [Select]
bomb="timebomb" camcreate getpos myplace
Hope that helps.
Title: Re:Satchel Charges
Post by: Artak on 18 Jun 2003, 22:40:05
what if you

bomb="pipebomb" camcreate getmarkerpos "markername"; bomb setdammage 1

would that tick the bomb pada boom?
Title: Re:Satchel Charges
Post by: ljej on 20 Jun 2003, 12:38:20
Thanks To You all