Jump to content
Sign in to follow this  
Cam51

Radio Questiom

Recommended Posts

Is it possible for a trigger to detect who activated the radio ie: 0-0-1.

I'd like it to be available for every player (east and west), so that when a player on west hits 0-0-1, a sideChat message pops up for that team, and displays that players name (the one that hit 0-0-1) and have a "destroy" marker placed infront of the player about 50m.

is this possible?  I have heard that you can't get the radio command to tell who activated it. Is this true?

West sees the message for west and marker for west.

East sees the message for east and marker for east.

--------------------------------------------------------------------------------

(just to hit it again)

Cam51(on west side) hits 0-0-1 and the following chat comes up:

Cam51: "Radio Message 1"

Also a destroy marker type appears on the map 50m infront of Cam51.

No-one on East can see the message of the marker.

--------------------------------------------------------------------------------

Is this do-able?

Thanks for any help.

Share this post


Link to post
Share on other sites

Is this for MP I assume?

No you cannot detect the activator because when a radio trigger is set off it is activated by all clients at once.

What I think you are looking for is to probably use the OnMapSingleClick command instead. Then execute a script when the command is initiated that updates all 'West' or 'East' players with appropriate info.

Share this post


Link to post
Share on other sites
Is this for MP I assume?

No you cannot detect the activator because when a radio trigger is set off it is activated by all clients at once.

What I think you are looking for is to probably use the OnMapSingleClick command instead. Then execute a script when the command is initiated that updates all 'West' or 'East' players with appropriate info.

Yes, its for MP

Thats what I've heard, but there is no possible way around this?

No, what I'm looking for is sort of a quick-chat method using the radio commands. The player hits 0-0-1 and calls for reinforcments and a marker instantly created on the map to show where reinforcments are need. So the players dont have to stop, hit /, and type it all out, THEN hit H, and place a marker.

Just trying to keep things simple and quick.

Share this post


Link to post
Share on other sites

No, there is no workaround AFAIK because, as I said, the trigger executes on ALL machines so as soon as Player X hit the radio button, Player Y, Player Z, etc.. would also execute the command.

OnMapSingleClick doesn't require anyone to place any markers or type anything. All a player would need to do is open the map screen and 'click' on a location.

You still need to get code called on the desired other clients, but that would all be handled in a script.

Anyway, just my two cents.. there are certainly other ways to do this.. just not using Radio Triggers.. ;)

Share this post


Link to post
Share on other sites

For workaround you could use AddAction instead of Radio-Call

as AddAction scripts are running locally - only issue is when

players standing close to eachother, there's a chance of activating the other guys action - but then again you can

check inside the script if activator == owner of action wink_o.gif

~S~ CD

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×