I need to clarify what I wrote based on quickly making a test mission:
- Radio trigger with condition "this": When clicked by
anyone,
everyone in the mission runs On Act.
- Radio trigger with condition "this and (player == leader player)": When clicked by
anyone, then
all player leaders run On Act.
Thus, clicks by an individual are sent to everyone first,
then the condition is checked.
Editor solution (seperate trigger and group-name required for every group that wants radio access):
- Put "westFireteam1 = group this" in the init line of everyone in the first group.
- Create a radio trigger with condition "this and (player == leader westFireteam1)". The On Act will
only be performed on the westFireteam1 leader's machine if he clicks on the radio.
Script solution:
- Use createTrigger to create local triggers for every player. The On Act of the trigger will
only be called if the local player clicks on the radio.
**EDIT** Oops, I made a mistake in the first paragraph. Corrected