Home   Help Search Login Register  

Author Topic: units give up  (Read 532 times)

0 Members and 1 Guest are viewing this topic.

Offline Gron

  • Members
  • *
  • I'm gron
units give up
« on: 16 Jul 2004, 09:03:25 »
My scripting skill are just in the begining of the noob phase so i was wondering how would a script look like that do the following:

Countside
and if the numbers drop below x(either from the entire side or just in a group)
do the setcaptive=true and playmove FXStandSur and makes the unit drop all equipment carried(guns,mags,grenades,binoculars etc) on all remaining troops.

This would make the aiÂ's NOT fighting to the very last bullet/man and still keep coming.

As you see this is merely a basic morale function and IÂ'd like to see it control escaped crews(due to damaged vehicles) and make captive units walk with their hands on the head to a specific point(like a trigger).

Many thanks to all who wish to help me on this one  :D