OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting Multiplayer => Topic started by: Rommel92 on 13 Jul 2009, 08:55:47
-
team1 setVariable ["owner",unit1,true]
For join in progress, does this get sync'd with the player? Ie, would unit2 (the JIPper) be able to locally do this:
team1 getvariable "owner"
to return unit1.
cheers,
Rom
-
You'll need to test it out for yourself.
But since publicVariable ist synced, setVariable should be synced too.
-
Has anyone tested this yet?
-
Yes, setVariable is synced for JIP players :)
-
Outstanding :good: