• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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