OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Ryu on 22 Feb 2003, 13:37:22
-
I have the leader send a radio message to HQ who then send back an answer. But if the leader, (player1) is not sellected I only see HQ side of the conversation.
Is there anyway to make the player who is the leader, be it player2, player3 etc send the message?
Thanks for any help
-
You can determine the leader of a group dynamically with the leader command. The leader can be determined via either a unit in the group or the name of the group. E.g.:
leader MyUnit
leader MyGroup
So, just have your script have the leader send the message instead of specifically naming the leader as player1.
-
Thanks. That should do it.