• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Need Big Help Regarding On Hero Wars

Status
Not open for further replies.
Level 2
Joined
Dec 27, 2006
Messages
10
I do not understand much about Hero War maps infact i dont understand a thing like how to trigger the enemy to move somewhere and such and choosing heros by walking on the pod/circle .. so i hope someone could teach me *How* to do it please... :confused:
 
Level 7
Joined
Dec 20, 2006
Messages
348
Ok then, 2 things, i can help you but also be more specific :infl_thumbs_up:

Heres a link to hero making http://world-editor-tutorials.thehelper.net/herochoose.php

Event - Every 10 seconds
Condition - None
actions:
-Pick every unit of type (Unit Type) and do actions:
-Issue order picked unit to attack-move to random point in playable map area

use this as a base for moving units, thanks Mini Me :infl_thumbs_up:

as for creeps respawning try this

  • Germ maker2
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Germ
    • Actions
      • Wait 5.00 seconds
      • Unit - Create 1 Germ for Neutral Hostile at (Random point in Germ2 <gen>) facing Default building facing degrees
oh, btw, theres an edit button, dont double post
 
Level 13
Joined
Jun 22, 2004
Messages
783
Best things that I can advise you as someone that maps now for over 3 years, open the editor, grab a few basic tutorials, and get to work.

Other thing is, open a map from someone else, and have a peak at how they triggered things.
 
Level 2
Joined
Dec 27, 2006
Messages
10
Ok then, 2 things, i can help you but also be more specific :infl_thumbs_up:

Heres a link to hero making http://world-editor-tutorials.thehelper.net/herochoose.php



use this as a base for moving units, thanks Mini Me :infl_thumbs_up:

as for creeps respawning try this

  • Germ maker2
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Germ
    • Actions
      • Wait 5.00 seconds
      • Unit - Create 1 Germ for Neutral Hostile at (Random point in Germ2 <gen>) facing Default building facing degrees
oh, btw, theres an edit button, dont double post
can you teach me this one
http://world-editor-tutorials.thehelper.net/herochoose.php
its really hard to understand cause it isnt like step by step .. im stucked at variables
 
Level 13
Joined
Jun 22, 2004
Messages
783
Well thats quite easy, you should see variables as little spaces in which you can store information, and withdraw again so they won't get lost.

To get to the variable editor, you first need to go to the trigger editor, and then press "Ctrl+B" (thats the short cut to the variable editor).

A new window will open.
Click on the green button or press "Ctrl+N" (which is the shortcut for making a new variable), to make a new variable.

A new window will enfold itself with the following 4 things.
Variable name:
Variable type:
array:
Initial value:


#Variable name
The variable name could be anything, but I suggest using a name that represent what it will do.

#Variable type
Next thing up is the type of the variable, the type of the variable is very important, since it will decide what you can store in it, if you need to store a number in you could use "Integer" or "Real", but if you need to store a unit in there, than you could use "Unit" as variable type.
Most types are self explanetory, even more the onces that you will be needing the most.

#array
The array function is a very handy thing, but its a tad complicated as well, an array means a widthspan, which actually means that you can have more variables in one variable, arrays are oftenly used when you need an "Integer A" as action in a trigger, but its suitable for other occasion as well, but I would suggest learning more about variables first, and then arrays and how they work will come to itself.

#Initial value
The initial value is not to real big importance, atleast I rarely use it, since you can easily set it at the start of the game yourself with a trigger.



Once you created a variable you can start using it, store information in it, by using the the action:
"Set variable"
And withdraw it with other actions when you need it again.

A few notes are
* These are global variables, which means you can't create 2 variables with the same name.
* You do not need to reset the variable when you want to use it again, you can just copy your new data over the old one.
 
Status
Not open for further replies.
Top