OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: ROBINO on 02 Jan 2006, 16:20:09

Title: dialog by radio for caller only
Post by: ROBINO on 02 Jan 2006, 16:20:09
ok its a bit of a nooby question but i haven't yet got into dialogs that much so here goes:

I want to know how I can get dialogs to appear from a radio trigger but ONLY for the player which calls them.  I've looked at SNYPR's support pack because as I think it does what I'm asking.  If anyone out there can interpret what he's done and tell me then thnx very much   :)

As it is I'm pretty sure that entering the createdialog command inside the activation field of a radio trigger will create the dialog for all players.

Calling a script which creates the dialog will still create it for all players because the script will be executed on all machines.

So whats the solution ?

I know about using addaction to localise player called events - but this problem is about radio triggers.
Title: Re:dialog by radio for caller only
Post by: ROBINO on 02 Jan 2006, 17:11:15
hmm i'm answering my own questions now - i think i know how he does it

the first thing after the radio trigger is a map click request - thats how he sorts out which client the dialog will be created on

i dont know why i didnt see this last night

 8)