Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: setVariable  (Read 3815 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: