Home   Help Search Login Register  

Author Topic: Destroying vehicles  (Read 3137 times)

0 Members and 1 Guest are viewing this topic.

Agent Fire

  • Guest
Destroying vehicles
« on: 18 Aug 2003, 17:13:57 »
I was wondering what was the best way to destroy vehicles; I often use mines on armoured vehicles, but is there an 'on activation' command that I can put on a trigger that will destroy a unit? :hmm:

Offline DrStrangelove

  • Members
  • *
  • Mr.Creative
Re:Destroying vehicles
« Reply #1 on: 18 Aug 2003, 17:29:22 »
Make a vehicle, name vehicle1 (or whatever)
then make a trigger that is activated by whatever
OnActivation: vehicle1 setdammage 4     (makes vehicle explode)

Or instead:
vehicle1 setdammage 1     (makes vehicle kaputt and burn a bit)


*gg*  ;D

Agent Fire

  • Guest
Re:Destroying vehicles
« Reply #2 on: 18 Aug 2003, 17:36:08 »
kaputt and burn a bit? hmmm... I THINK I'll go for 4 this tim...

Agent Fire

  • Guest
Re:Destroying vehicles
« Reply #3 on: 18 Aug 2003, 17:39:14 »
that works and everything, but It doesn't make a vehicle flip into the air at 200mph like mines do... any ideas?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Destroying vehicles
« Reply #4 on: 18 Aug 2003, 17:59:58 »
camCreate a couple of LGBs at the vehicle's location.
Plenty of reviewed ArmA missions for you to play

Agent Fire

  • Guest
Re:Destroying vehicles
« Reply #5 on: 18 Aug 2003, 18:06:14 »
What exactly would I put in the activation field to do that?

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Destroying vehicles
« Reply #6 on: 18 Aug 2003, 18:33:45 »
"syntax not guaranteed" ;)

Dunno about LGB, never use em but Heats would do fine. Something like this:

bomb="heat125" camcreate getpos setpos tank1; bomb="heat125" camcreate getpos setpos tank1; bomb="heat125" camcreate getpos setpos tank1; bomb="heat125" camcreate getpos setpos tank1

Something like that.

Agent Fire

  • Guest
Re:Destroying vehicles
« Reply #7 on: 18 Aug 2003, 19:24:14 »
It says 'reserved variable in expression"

_Ross_

  • Guest
Re:Destroying vehicles
« Reply #8 on: 18 Aug 2003, 20:17:25 »
i blow up stuff alot so i got the syntax
tank1 is your vehicle

"laserguidedbomb" camcreate (getpos tank1)

that simple

wont work with some planes though, sometimes, the planes just drop them (which is also kinda cool)
« Last Edit: 18 Aug 2003, 20:19:51 by _Ross_ »

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Destroying vehicles
« Reply #9 on: 18 Aug 2003, 20:19:49 »
It says 'reserved variable in expression"
yea, that's because the syntax's wrong. But I can't remember the correct one.

Agent Fire

  • Guest
Re:Destroying vehicles
« Reply #10 on: 18 Aug 2003, 20:21:51 »
now it says "type object expect nothing"

_Ross_

  • Guest
Re:Destroying vehicles
« Reply #11 on: 18 Aug 2003, 20:26:41 »
thats really not normal
in my script, i use this exact line to create the bomb in a carpet bombing script

Quote
"laserguidedbomb" camcreate (getpos tank1)

its pasted right out of the script and  it works fine

try maybe using different weapons like "rocket57"
« Last Edit: 18 Aug 2003, 20:30:10 by _Ross_ »

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Destroying vehicles
« Reply #12 on: 18 Aug 2003, 20:37:01 »
now it says "type object expect nothing"
Have you named your tank tank1?

Agent Fire

  • Guest
Re:Destroying vehicles
« Reply #13 on: 18 Aug 2003, 20:41:11 »
check attachment

Agent Fire

  • Guest
Re:Destroying vehicles
« Reply #14 on: 18 Aug 2003, 20:48:00 »
should be attached this time