• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

integer a and b

Status
Not open for further replies.
i would refer to them as a big storage containing many other storages


lets say the trigger is for every big storage (integer a) from storage (1) to storage (10)
if player(big storage(integer a)) is equal to is playing

the big storage will search every storage from 1 to 10 and see whether they are playing or not
 
They are integers just as any other integer variable you can create. Warcraft 3 just provides them for the GUI interface.

When you loop you do a group of actions for every value assigned to the loop. If you loop from 1 to 10 using Integer A, you're doing a loop using IntegerA as 1, 2, 3, 4, 5, 6, 7, 8, 9 and 10. Wc3 handles the loops untill you reach a limit.

When you declare "From 1 to 10" Wc3 handles 1 as the "MinimumA" and "10" as "MaximumA" and stipulates that the loop will end when A, wich starts at MinimumA, reaches MaximumA, increasing it's value by 1 on every loop instance.
 
Status
Not open for further replies.
Back
Top