OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SEAL84 on 04 Oct 2003, 01:57:16

Title: Groups, radios, and the leader
Post by: SEAL84 on 04 Oct 2003, 01:57:16
Hi again.

My question this time is this:  how do I make a unit use the radio *if* it's leader might be dead and some random Bob is in charge?

I mean, I don't want to rely on guy1 sideradio because guy1 could be pushing up daisies by the time I need his group to report in.

Would I name the whole group and then use leader group whatever sideradio?


In unrelated news, I figured out how to include custom voices  ;D ;D
Title: Re:Groups, radios, and the leader
Post by: Sui on 04 Oct 2003, 02:08:18
Heya Seal...

Name your group:

alpha = group this

Then you can use:

(leader alpha) sideradio "Speech1"

;)
Title: Re:Groups, radios, and the leader
Post by: SEAL84 on 04 Oct 2003, 02:11:26
As I suspected.

I thought that might be the case but it would be a major pain to test the theory at this point in-game.

As aways, thanks for the help...I've been depending on your answers for how long now  ??? lol  ;D