Home   Help Search Login Register  

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