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

:fp: Variables and arrays?? Help me plzz

Status
Not open for further replies.
Level 3
Joined
Dec 28, 2008
Messages
35
i got no clue wut or how to use variables n arrays i got no idae wut there 4 or ne thing i can do some good triggers but i cant make many triggers wit out vars n arrays so could someone help me wit them n give me a 40 pages instrution manuel on how to use them wut there n wut one will do wut n wut trigger they will work for?:fp:
 
Level 9
Joined
Nov 28, 2008
Messages
704
Take a look at the top of the page, go to tutorials, find them there.

Heres one: http://www.hiveworkshop.com/forums/f279/variables-5896/

If you want a summary, a variable is a thing that can hold information. For example, you could make a variable to count how many times a unit has died. Every time the unit dies, you could set that variable to go up by one.

An array is a variable with multiple values. You can have Variable[0], Varialbe[1]... instead of making a bunch of single variables, you can use one, and inside of a loop, you can have the variable with the number of times th eloop has run.. you can keep track of alot of things that way.

Take a look, if your planning on doing any kind of custom map, you should use them.
 
Level 3
Joined
Dec 28, 2008
Messages
35
Take a look at the top of the page, go to tutorials, find them there.

Heres one: http://www.hiveworkshop.com/forums/f279/variables-5896/

If you want a summary, a variable is a thing that can hold information. For example, you could make a variable to count how many times a unit has died. Every time the unit dies, you could set that variable to go up by one.

An array is a variable with multiple values. You can have Variable[0], Varialbe[1]... instead of making a bunch of single variables, you can use one, and inside of a loop, you can have the variable with the number of times th eloop has run.. you can keep track of alot of things that way.

Take a look, if your planning on doing any kind of custom map, you should use them.



Hey Thxs iaqm tryin to figure out ability vars n like unit vars ill try to find them +1
 
Status
Not open for further replies.
Top