OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Suicide on 14 Jun 2004, 19:37:32

Title: Forgot 2 Easy Things About Using Radio
Post by: Suicide on 14 Jun 2004, 19:37:32
Hi All,

I Forgot How Hiding Radio Command For Some Players, I Need Radio Commands To Be Seen Only By One Player Named S2.

Also, What I Have To Put On Top Of A Script Executed By A Radio Command To Be Run Only If S2 Has Call This Radio Command ???

I Hope It's Clear Lol  ;D
Title: Re:Forgot 2 Easy Things About Using Radio
Post by: Mr.BoDean on 16 Jun 2004, 09:05:56
I got 'dis one ..I got 'dis one!  ;D


OK.... in Init.sqs :

1 setRadioMsg "NULL"    

(1 for Radio Alpha)

In script or On Activation of a trigger:

?(player == S2): 1 setRadioMsg "Alpha Blue Deploy"

That message will now only be seen and usable by that player.   8)
Title: Re:Forgot 2 Easy Things About Using Radio
Post by: Suicide on 16 Jun 2004, 21:17:43
Ok, Thanks A Lot Mate  ;D