• 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.

Variables increasing (JUST HELP)

Status
Not open for further replies.
Level 8
Joined
Dec 29, 2006
Messages
359
Events are something that happens (a unit entering a region, periodic timer expiring ect) and cause a trigger to fire. You need to add to a variable with an action.
Set (your variable) = [use the algebra function here] (your variable) + 1
note: to add a number to a variable it must be an integer or a real.
 
Level 6
Joined
Apr 20, 2007
Messages
232
Events are something that happens (a unit entering a region, periodic timer expiring ect) and cause a trigger to fire. You need to add to a variable with an action.
Set (your variable) = [use the algebra function here] (your variable) + 1
note: to add a number to a variable it must be an integer or a real.

thanks for help (I made a mistake in writing EVENT i wanted to write ACTION :grin: )
 
Status
Not open for further replies.
Top