Home   Help Search Login Register  

Author Topic: A Real Good Car Bomb???  (Read 488 times)

0 Members and 5 Guests are viewing this topic.

Offline Captain Crunch

  • Members
  • *
A Real Good Car Bomb???
« on: 14 Apr 2003, 23:19:20 »
I've just learned this cool car bomb script but only one thing doesn't satisfy me; IT DOESN'T EXPLODE!!!
The    _Vehicle setdammage 1     does give the dammage but it's no fun! I heard it's possible to attach a bomb with the   setpos getpos     thing but I can't find how!

I tried by laying an actual bomb underneath the car but as all the mines do, it doesn't stay fixed to its original emplacement, it somehow skids down the sloap. I guess this must be the addon's bug... ...Or is it?

And another question if I'm not already anoying, how can I find the position numbers on the map in the editor????? I mean the west-east and north-south position!

   Thanx much for all help.

            and many thanx to Johan Gustafsson for his scripting tutorial, good help to me


     
« Last Edit: 14 Apr 2003, 23:47:38 by Captain Crunch »
Back to the forest!

titan

  • Guest
Re:A Real Good Car Bomb???
« Reply #1 on: 14 Apr 2003, 23:53:41 »
try a camcreate...

bang = "heat120" camcreate getpos unitname

heat120 is the wep name, check command refs for others!


This will create a heat120 shell right where the unit is, and explode! If you create it from a flying unit then it will drop to the ground.

Hope this helps!

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:A Real Good Car Bomb???
« Reply #2 on: 15 Apr 2003, 00:18:18 »
Run a looping script.   Syntax not guaranteed.

#loop
~0.2
? getdammage car1 > 0.99:exit
bomb1 setpos getpos car1
goto "loop"


For map coords try this tute.
Plenty of reviewed ArmA missions for you to play

Offline Captain Crunch

  • Members
  • *
Re:A Real Good Car Bomb???
« Reply #3 on: 15 Apr 2003, 00:40:09 »
try a camcreate...

bang = "heat120" camcreate getpos unitname

heat120 is the wep name, check command refs for others!


This will create a heat120 shell right where the unit is, and explode! If you create it from a flying unit then it will drop to the ground.

Hope this helps!

---ALRIGHT!!! Thanx a lot! It works perfect!! Just one more question, you mention the command refs, for other wep names, which command refs do you refere to exactly. Cos I have one but it's not mentioned in. Can you tell me where I can download this?

    Thanx again for you r help titan

-----I'm checking macguba's script, I'll let you know, Thanx macguba!

Back to the forest!