| 03-17-2004, 06:57 PM | #1 |
Please , anyone , i don't know how to use this f.......in variables and i know anyone or many peeps need them to finish a great map . please , explain me ! :( |
| 03-17-2004, 09:25 PM | #2 |
Are you trying to say "How do variables work?" or "Who will do the variables for me?"? |
| 03-18-2004, 12:11 AM | #3 |
First, you must understand that a variable simply takes the place of its type. For instance, a unit variable can be used in any situation (except events) where a real unit would be used. This may sound stupid, but without this, you can't start to learn about variables. Now, arrays, these are great. They can cut down on the number of triggers you need and they are just generally useful. Think of an array as a "book" of variables. The number next to the variable would be a "page". This way, you can have different information on every "page" in the "book". One way in which these are quite useful is if you need to set somethign to a variable for each player, you can make the triggers set the number to the player's number and can use it by doing the same thing. Before i confuse you more, I will stop. And redirect you to a tutorial. This is both because I am lazy, and because it will confuse you less than I will. Basic Triggering 1 Basic Triggering 2 Arrays for "dummies" (probably hard to understand) The Basic Triggering Tutorials have information on variables in them, and i couldn't find any others, so i posted links to those. These are probably a tad basic for you, but they should help to get you going on variables. |
