OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting Multiplayer => Topic started by: Rommel92 on 13 Jul 2009, 08:55:47

Title: setVariable
Post by: Rommel92 on 13 Jul 2009, 08:55:47
Code: [Select]
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:

Code: [Select]
team1 getvariable "owner"
to return unit1.

cheers,

Rom
Title: Re: setVariable
Post by: i0n0s on 13 Jul 2009, 13:22:56
You'll need to test it out for yourself.
But since publicVariable ist synced, setVariable should be synced too.
Title: Re: setVariable
Post by: Mandoble on 24 Aug 2009, 17:27:42
Has anyone tested this yet?
Title: Re: setVariable
Post by: Deadfast on 24 Aug 2009, 22:44:53
Yes, setVariable is synced for JIP players :)
Title: Re: setVariable
Post by: Mandoble on 25 Aug 2009, 00:02:40
Outstanding  :good: