OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: pazuzu on 11 Feb 2004, 04:30:33

Title: Sidechat
Post by: pazuzu on 11 Feb 2004, 04:30:33
Hi, I'm using sidechat in a mission but if leader dies the sidechat doesn't work because its set for soldier1.

How do I set it to work for all players?

Thanks.
Title: Re:Sidechat
Post by: deaddog on 11 Feb 2004, 04:52:26
Give the group a name:

groupname=group this (in the init field of one of the units)


Then use:

(leader groupname) sidechat .........
Title: Re:Sidechat
Post by: pazuzu on 11 Feb 2004, 07:09:08
That worked perfectly

Thank you