Home   Help Search Login Register  

Author Topic: Destroying vehicles  (Read 3135 times)

0 Members and 1 Guest are viewing this topic.

_Ross_

  • Guest
Re:Destroying vehicles
« Reply #15 on: 18 Aug 2003, 20:59:26 »
armstrong, the mane is not the prablem. i just mada a lirrle mission with tank1 and in its init i put
Quote
"laserguidedbomb" camcreate (getpos tank1)

and i got the same arror message

Agent Fire

  • Guest
Re:Destroying vehicles
« Reply #16 on: 18 Aug 2003, 21:02:59 »
look 4 urselves

Agent Fire

  • Guest
Re:Destroying vehicles
« Reply #17 on: 18 Aug 2003, 21:38:33 »
this is weird - does AnYoNe know how to destroy a unit using the activation field of a trigger?

Drozdov

  • Guest
Re:Destroying vehicles
« Reply #18 on: 18 Aug 2003, 21:52:42 »
Is there any way to set a vehicle's status to 'destroyed' without having to hear it go BOOM? Useful if you want to create a mission on the site of a recent battle. I'm thinking of the play/switchmove commands but they only work with humans don't they?

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Destroying vehicles
« Reply #19 on: 18 Aug 2003, 21:58:47 »
Is there any way to set a vehicle's status to 'destroyed' without having to hear it go BOOM? Useful if you want to create a mission on the site of a recent battle. I'm thinking of the play/switchmove commands but they only work with humans don't they?
Yea, lower both ammo, health and fuel in the three lines.

And Fire, it must be a syntax error. Try searching the forums for "camcreating bombs" or something like that.

Drozdov

  • Guest
Re:Destroying vehicles
« Reply #20 on: 18 Aug 2003, 22:06:02 »
That doesn't work, they still go BOOM. Sometimes they don't even die at all.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Destroying vehicles
« Reply #21 on: 18 Aug 2003, 22:33:09 »
That doesn't work, they still go BOOM. Sometimes they don't even die at all.
Are u sure they are down at 0 % ?

Drozdov

  • Guest
Re:Destroying vehicles
« Reply #22 on: 18 Aug 2003, 22:40:27 »
Yep. Though maybe when they don't explode they aren't quite. They still go BOOM, which isn't much good. Same with the setdammage 1 command.

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Destroying vehicles
« Reply #23 on: 19 Aug 2003, 02:23:31 »
If you set a vehicles ammo and fuel to zero, when it is killed (by moving the health slider to the left or by setdammage 1), it will not explode.

I use this all the time, believe me it works ;)

Agent Fire, what version of OFP are you using? I take it you don't have Resistance?

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Destroying vehicles
« Reply #24 on: 19 Aug 2003, 07:48:29 »
If you set a vehicles ammo and fuel to zero, when it is killed (by moving the health slider to the left or by setdammage 1), it will not explode.

I use this all the time, believe me it works ;)

Agent Fire, what version of OFP are you using? I take it you don't have Resistance?
Hey, I camreated heats/shells with 1.0! It oughta work.

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Destroying vehicles
« Reply #25 on: 19 Aug 2003, 11:43:14 »
Yeah, but the A10 with "laserguidedbomb" was only added later... ;)

Unnamed

  • Guest
Re:Destroying vehicles
« Reply #26 on: 19 Aug 2003, 14:07:29 »
I could never get "laserguidedbomb" to work with V1.91 either.

Code: [Select]
_Bomb = ("bomb" camcreate [_XTarget,_YTarget])
_Bomb setdamage 1

Worked for me?
« Last Edit: 19 Aug 2003, 14:08:09 by Unnamed »

KyleSarnik

  • Guest
Re:Destroying vehicles
« Reply #27 on: 19 Aug 2003, 14:46:21 »
I would use:

Code: [Select]
bomb = "laserguidedbomb" camcreate (getpos unluckybastard)
Worked for me when I wanted a T72 to get blown sky high  ;D