Variable Help

Akino_k

New Member
Reaction score
1
ok, i ran into a problem while i was looking at the hero arena tutorial in:
http://world-editor-tutorials.thehelper.net/herochoose.php when you scroll down to the point where the code: Choose Hero 1 and 2 is showing, the condition is really weird, i cant find where i'm supposed to put the "-and (Pick_Taken[1] Equal to 0)" when i click on the little window "Configure Condition" i have the whole "((Unit-type of (Triggering unit)) Equal to Wisp)" and when i click "Variable" above which unit i want to use such as "Equal to -"
it says there is no variables while i followed all of the directions on the page. Where could I go to get the variable into the trigger such as:

"((Unit-type of (Triggering unit)) Equal to Wisp) and (Pick_Taken[1] Equal to0)" ____________________
__
 
Reaction score
456
Scroll down the condition list, until you see "And". Choose it.

For the first condition it gives to you, put "Unit-Type Comparison", and replace the Footman with your own unit. Then click ok.

For the condition number two, put "Integer Comparison", and choose your variable and set it's array value.

Then you should have it.
 

Hatebreeder

So many apples
Reaction score
381
This "Unit Type of ..." Is a Unit Type Comparison
This "Pick_Taken[1]..." Is a Integer Value, because you do something with numbers.

Let me give you a small List of Variable Definitions.
- Reals = numbers with a decimal (0.00)
- Integers = Whole numbers (0)
- Boolean = True or false statements
- unit = self-explanatory. Genereic definition of a Unit
- Unit Type = Specific definition of a Unit (Wisp for example)
 

Akino_k

New Member
Reaction score
1
This "Unit Type of ..." Is a Unit Type Comparison
This "Pick_Taken[1]..." Is a Integer Value, because you do something with numbers.

Let me give you a small List of Variable Definitions.
- Reals = numbers with a decimal (0.00)
- Integers = Whole numbers (0)
- Boolean = True or false statements
- unit = self-explanatory. Genereic definition of a Unit
- Unit Type = Specific definition of a Unit (Wisp for example)

Wow...thats really useful! (No Sarcasm) I have to copy that down, lol
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top