Home   Help Search Login Register  

Author Topic: deleting units  (Read 704 times)

0 Members and 2 Guests are viewing this topic.

Offline libriut99

  • Members
  • *
  • 2b or not 2b, who cares ???
deleting units
« on: 06 Mar 2003, 15:36:42 »
a quick question .

when I try to delete a unit (man) using the "deletevehicle" command ,  the game crashes .
anyone else got that problem ? anyone knows of a solution ?
 ???
before 'Zee germans get there ...

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:deleting units
« Reply #1 on: 06 Mar 2003, 15:42:16 »
Never happened to me.

deletevehicle unitname     right?

Should work like a charm.
Not all is lost.

Offline libriut99

  • Members
  • *
  • 2b or not 2b, who cares ???
Re:deleting units
« Reply #2 on: 06 Mar 2003, 16:02:00 »
yeah .....it should ,
but I've noticed that it only happens when I put the command in a waypoint activation field , maybe thats the problem.
before 'Zee germans get there ...

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:deleting units
« Reply #3 on: 06 Mar 2003, 16:24:37 »
I've already pointed that out in a thread months ago.

That's because if you are deleting the unit/group, the
waypoint belongs to, the waypoint will be deleted aswell.
Therefore the executor of the delete command doesn't exist
anymore and this causes some kind of illegal operation.

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

Offline libriut99

  • Members
  • *
  • 2b or not 2b, who cares ???
Re:deleting units
« Reply #4 on: 06 Mar 2003, 16:27:28 »
walla .....that make sense ...thanks .
before 'Zee germans get there ...