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 3639 times)

0 Members and 1 Guest are viewing this topic.

Offline Rommel92

  • Members
  • *
setVariable
« on: 21 Oct 2009, 00:47:52 »
Do variables set with set variable carry on to the re spawned player? I have noticed some strange anomalies, and therefore have to reset the variables on re spawn. This is strange behaviour?

Offline Killswitch

  • Members
  • *
  • Peace, cheese and ArmA
Re: setVariable
« Reply #1 on: 10 Nov 2009, 10:03:40 »
Do variables set with set variable carry on to the re spawned player?
Yes, In my experience they do - assuming you respawn into the "same" unit, ie if you are using respawn="BASE" or respawn="INSTANT" in the description.ext. Naturally, if you have "GROUP" or "SIDE" respawn, you'll end up in another, existing unit and the "new" player object variables may be different.

Quote
I have noticed some strange anomalies, and therefore have to reset the variables on re spawn. This is strange behaviour?
Can you reproduce these anomalies and create a mission that shows the problem?
« Last Edit: 10 Nov 2009, 10:05:32 by Killswitch »