Home   Help Search Login Register  

Author Topic: How to make enemy surrender?  (Read 873 times)

0 Members and 1 Guest are viewing this topic.

pertti49

  • Guest
How to make enemy surrender?
« on: 23 Oct 2002, 15:55:28 »
Situation is this bigger enemy force advance and fight with a smaller group and when the bigger force is enough near the  survivors of the smaller force will drop their weapons and rise their hands in the air and start to move to the prison camp without the bigger forces soldiers shooting them anymore after the surrendering? thank you for any help :)
greetings:pertti49

PsyWarrior

  • Guest
Re:How to make enemy surrender?
« Reply #1 on: 23 Oct 2002, 17:19:26 »
This is possible. The only problem is that units cannot move after they have their hands up - they would have to return to the 'normal' walking position before they could move.

For the surrendering bit you can make the surrendering units drop their weapons using the command

unitname action [dropweapon, weaponname]

and then use a switchmove command (FXStandsurUniv I think) to get them to stick their hands up. If you need more help with the actual scripting, try putting your Q in Scripting:General.

Hope it helps ;D
---------------
PsyWarrior

PsyWarrior

  • Guest
Re:How to make enemy surrender?
« Reply #2 on: 23 Oct 2002, 17:21:46 »
Ohhh yeah, I forgot. Put
unitname setcaptive true
to stop your captives being shot.
*is embarrased at mistake*

Psy  :-[