• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Variable value

Status
Not open for further replies.
Level 4
Joined
Feb 23, 2006
Messages
63
I have 2 variables AAA and BBB. Each variable is an ability variable.
the problem is:
the value of AAA is still changing
and i want to set the variable BBB to value of AAA in some moment and then the value of BBB dont change anymore
 
Level 18
Joined
Jan 24, 2006
Messages
1,938
If AAA is being changed frequently and you set BBB to AAA, the BBB will be whatever AAA was at the time it was set, it won't change with AAA.

Not sure what you're saying but I think that will help.... maybe :p.

-*meow*
 
Last edited:
Level 24
Joined
Jun 14, 2005
Messages
2,506
Well if I understand you correctly just turn of the trigger that sets AAA to whatever value just before you set BBB to AAA, or if your thinking of the other thing i think you might mean then just have the fucntion to set BBB to AAA just after AAA is set to a value.
 
Status
Not open for further replies.
Top