OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Soulja on 29 Sep 2003, 01:40:58

Title: chain of command
Post by: Soulja 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?
Title: Re:chain of command
Post by: Kuro on 29 Sep 2003, 08:53:39
How about an trigger with

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

Title: Re:chain of command
Post by: ACF 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.

Title: Re:chain of command
Post by: Soulja 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.