Home   Help Search Login Register  

Author Topic: Question re: Unit Identity  (Read 1342 times)

0 Members and 1 Guest are viewing this topic.

Dweebfire

  • Guest
Question re: Unit Identity
« on: 15 Nov 2002, 20:23:57 »
I'm not sure how to describe this question but I'll give it a shot.  How do you get the game to recognize who the current leader of your multiplayer squad is?

In other words.  I want to assign a script to allow the squad leader to call in artillery.  Unfortunately, he takes a round in the face and is down for the count.  So the next guy takes over command.  How can I make the script exec on the CURRENT squad leader at the time the artillery is needed?  Clear as mud?

In other words, what is the games reference for the current squad leader?


Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Question re: Unit Identity
« Reply #1 on: 15 Nov 2002, 23:47:38 »
Hey there Dweebfire,

Try:

(leader group)

when referring to your unit. That will return the current (Living) leader of your group. If the old leader dies, a new leader is assigned (next ranking unit)

Dweebfire

  • Guest
Re:Question re: Unit Identity
« Reply #2 on: 16 Nov 2002, 00:41:53 »
Thank you.  I figured it was something simple.  :)