Home   Help Search Login Register  

Author Topic: Delete unit  (Read 589 times)

0 Members and 1 Guest are viewing this topic.

Leapingninja

  • Guest
Delete unit
« on: 02 Dec 2004, 17:02:35 »
How do you delete a unit from the game by trigger or waypoint? I know how to remove vehicle but i dont know how to remove men. Thanks

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Delete unit
« Reply #1 on: 02 Dec 2004, 17:05:13 »
deletevehicle. Look it up.

:beat: *Gets Shot* :beat:

Leapingninja

  • Guest
Re:Delete unit
« Reply #2 on: 02 Dec 2004, 17:15:46 »
I've already know how to delete a vehicle, but if i input the same code on a man  the game crashes. So do i need a another code or what?

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Delete unit
« Reply #3 on: 02 Dec 2004, 17:24:35 »
Seems to me it's your computer that's messing round.

:beat: *Gets Shot* :beat:
« Last Edit: 02 Dec 2004, 17:25:17 by dmakatra »

Offline C0LDSt33L

  • Members
  • *
  • Member of the SotM Team
Re:Delete unit
« Reply #4 on: 02 Dec 2004, 20:32:19 »
DeleteVehicle should work on men but depending on the situation a number of different commands could be used to create a similar effect. Perhaps setdammage or setpos are reasonable alternatives.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Delete unit
« Reply #5 on: 02 Dec 2004, 20:33:07 »
What code are you using?    deleteVehicle is the correct command for deleting a unit.
Plenty of reviewed ArmA missions for you to play

Unnamed

  • Guest
Re:Delete unit
« Reply #6 on: 02 Dec 2004, 22:35:15 »
Also when are you trying to delete him? If you delete a soldier during the GetOut event, that will crash ofp.

Leapingninja

  • Guest
Re:Delete unit
« Reply #7 on: 04 Dec 2004, 01:44:03 »
I'm useing the Deletevehicle code, it works on vehicles, but if i try and use it on a man the game crashes.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Delete unit
« Reply #8 on: 04 Dec 2004, 01:52:40 »
What exactly do you type in to delete the unit?


Planck
I know a little about a lot, and a lot about a little.

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Delete unit
« Reply #9 on: 06 Dec 2004, 06:55:23 »
I have seen deletevehicle cause problems when used in a waypoint (the owner of the waypoint was the one being deleted! ;) ).

I can confirm that it does work on people though...

* Sui tries to deletevehicle his boss

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Delete unit
« Reply #10 on: 06 Dec 2004, 10:47:48 »
Quote
* Sui tries to deletevehicle his boss
Hope springs eternal ;D ::)

Quote
I have seen deletevehicle cause problems when used in a waypoint (the owner of the waypoint was the one being deleted!  ).
Well, I have never had problems with this kind of 'scenario'...
Worked on vehicles and men (well, in OFP 'humans' are vehicles too ;) )...

Quote
If you delete a soldier during the GetOut event, that will crash ofp.
Altough this was completely new to me...
« Last Edit: 06 Dec 2004, 10:48:52 by HateR_Kint »
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.