Last edited by Dwarden; Jun 27 2012 at 19:57.
RealTimeChat ~ARMA2 in Your browser (w/o Java), RealTimeChat ~ARMA3 in Your browser (w/o Java),
irc.GameSurge.net/ARMA2 (external IRC clients) irc.GameSurge.net/ARMA3 (external IRC clients)
ARMA 3 Feedback Tracker: http://feedback.arma3.com/my_view_page.php
~100k fans @STEAM ARMA 2 + ARMA 2: OA + ARMA 3: + ~2k @XFIRE A2:OA
Follow my Twitter: http://twitter.com/FoltynD or my Facebook http://facebook.com/FoltynD
Please note new commands:
Publishers the variable (name as STRING) to the server only. Useful when you want to synchronize a variable with the server but not any other clients.
<clientID> publicVariableClient <varname>
Publishes a variable (name as STRING) to a specific client, from the server. This is useful where you want to synchronize a variable with only a specific client. The Client ID is the temporary ID given to a connected client for that session. You can find out this ID with the owner command (using it on a player's character, for example, will give you that players client ID).
This is a useful way to cut down on network traffic, as publicVariable commands are issued as a priority message. So use publicVariable sparingly, and these commands where they apply.
"He will come to death. An image of the splendor of the kings of men in glory, undimmed before the breaking of the world."
---------- Post added at 09:37 AM ---------- Previous post was at 09:35 AM ----------
Wait, can the client one do client to client? That'd be really nice... Obviously it'd have to go across the server...
I guess we could roll our own though if not...
Wow, thanks BI. I'll be messing around with the these later on.
Basically use them in all situations where their purpose applies?
Are these commands also seen as priorities where they are used, like how publicVariable is a priority to all machines?
Really interesting new commands , we need those included on CBA ASAP wink wink :P. Mmm just gessing, publicVariableClient its only "server--> client" or could work "client-->client"? because the "owner" command seems to only work server side(i supose that you could do the owner command on the server and send the ID to the clients to allow client-->client...)
Anways most querrys should be server-->client, client-->server, client-->client would be only usefull for player interactions.
Testing them right now .
Thank you, this is definitely a welcomed change.
publicVariableServer (run on client)
publicVariableClient (run on server)