Home   Help Search Login Register  

Author Topic: attaching satchel charges  (Read 546 times)

0 Members and 1 Guest are viewing this topic.

cannonfoda

  • Guest
attaching satchel charges
« on: 14 Apr 2003, 12:18:06 »
hey guys

is it possible to attach a satchel charge to an object such as a vehicle? if it is how can i do it?

thx

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:attaching satchel charges
« Reply #1 on: 14 Apr 2003, 12:55:17 »
There are carbomb scripts in the Ed Depot, they might help.
Plenty of reviewed ArmA missions for you to play

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:attaching satchel charges
« Reply #2 on: 14 Apr 2003, 12:57:54 »
Hello cannonfoda

This is in theory because I'm not at home and can't test it


Code: [Select]
_bomb = "pipebomb" camcreate getpos car

#loop
?!(alive car): exit
_bomb setpos getpos car
~0.2
goto "loop"

or if we were to make it a bit more fancy

Code: [Select]
_bomb = "pipebomb" camcreate getpos car

#loop
@speed car > 1
?!(alive car): exit
_bomb setpos getpos car
~0.05
goto "loop"
Not all is lost.

cannonfoda

  • Guest
Re:attaching satchel charges
« Reply #3 on: 14 Apr 2003, 13:30:10 »
thx i'll give them a go