Forum Jump :

Author Message


Posts: 12
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2013-04-24 12:19        
     
I've run into a few snags with radio messages and multiple players. I have two triggers activated by radio commands.
For one, I want to have a squad join only the player who activated the message - I've tried:
I want it so that, even if outside the trigger's area, only the player who called the trigger gets its rewards.

The other radio command I have is a script that teleports you to your buddy when activated. At first, I had only one radio message to do this, but whenever one player activated the radio message, one player would switch to the other player's location at the same time - they would switch spots. I couldn't figure out how to only make the player who activated the radio message teleport, so I made two separate radio commands:
I would rather have one radio command that detects which player activated it and only give the effects to him. In this example, I want only the player who used the radio command to teleport to their buddy.
How is this accomplished?


Author Message


Posts: 12
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#2 Posted at 2013-04-29 22:40        
     
I imagine I could do something like this:
_caller = player in thisList;
if (_caller == isPlayer Linguini) then {};
if (_caller == isPlayer Nicholson) then {};
but in that case, doesn't the player have to be within the Trigger's area? Is there some way to check which specific player is calling outside of a trigger's area? And is there a way to test this in a multiplayer environment on one computer?