Home   Help Search Login Register  

Author Topic: setVariable  (Read 1826 times)

0 Members and 1 Guest are viewing this topic.

Offline Rommel92

  • Members
  • *
setVariable
« 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

Offline i0n0s

  • Moderator
  • *****
Re: setVariable
« Reply #1 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.

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: setVariable
« Reply #2 on: 24 Aug 2009, 17:27:42 »
Has anyone tested this yet?

Offline Deadfast

  • Members
  • *
Re: setVariable
« Reply #3 on: 24 Aug 2009, 22:44:53 »
Yes, setVariable is synced for JIP players :)

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: setVariable
« Reply #4 on: 25 Aug 2009, 00:02:40 »
Outstanding  :good: