OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: CAS_Daniel on 22 Jun 2005, 12:17:53

Title: Talking for the leader
Post by: CAS_Daniel on 22 Jun 2005, 12:17:53
What do you do if you want a squad to say something in replace of a leader if they have died?  ???  

For example:

a1 sidechat "We've cleared the town"

If a1 is killed, no-one will say anything, but I want the next squad member to say
"We've cleared the town" for a1.

  :)
Title: Re:Talking for the leader
Post by: ACF on 22 Jun 2005, 12:49:14
Name the group and use the Leader command:

Code: [Select]
Leader mygroup sidechat "We've cleared the town"
or, if you're in it (which seems likely):

Code: [Select]
Leader Group player sidechat "We've cleared the town"
Title: Re:Talking for the leader
Post by: CAS_Daniel on 22 Jun 2005, 13:06:08
K, thanks  ;)