Home   Help Search Login Register  

Author Topic: chain of command  (Read 1538 times)

0 Members and 1 Guest are viewing this topic.

Soulja

  • Guest
chain of command
« on: 29 Sep 2003, 01:40:58 »
Custom Coop Multiplayer:

When the leader dies no one assumes command so dummies like AI hostages that we have resscued cant be told to enter vehicles or arm themselves and the like. How do I get the next ranking soldier to take command?

Offline Kuro

  • Former Staff
  • ****
  • 2./FschJgBtl 251 Green Devils
    • VBS2 Mission Download Site
Re:chain of command
« Reply #1 on: 29 Sep 2003, 08:53:39 »
How about an trigger with

? not alive BIGLEADER : "_x CommandFollow NEWLEADER" foreach HOSTAGES


Offline ACF

  • Members
  • *
  • Llama?? Ain't that French for tanks?
Re:chain of command
« Reply #2 on: 29 Sep 2003, 14:49:54 »
If they are all in the same group, the next ranking soldier should take command.  Is the problem that scripted commands are referenced to the initial leader - so if he dies the commands don't execute?

If that's the problem, try replacing Kuro's BIGLEADER with Leader bigleadersgroup so the next link in the chain gets the command.


Soulja

  • Guest
Re:chain of command
« Reply #3 on: 22 Oct 2003, 06:41:50 »
If they are all in the same group, the next ranking soldier should take command.  Is the problem that scripted commands are referenced to the initial leader - so if he dies the commands don't execute?

If that's the problem, try replacing Kuro's BIGLEADER with Leader bigleadersgroup so the next link in the chain gets the command.

This makes sense but next ranking soldier does not take command unless AI controlled. I must be doing somthing wrong.  Very frustrating because my Lan friends love to play my levels until It screws up. Cant get past this.