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

Hunter

Status
Not open for further replies.
Level 3
Joined
Jun 6, 2004
Messages
50
In my rpg I'm putting hunter that is hunting all over the map after the heroes. But the problem is, I can't get it to hunt.
I need help to first be created (with variable) and then attack a hero. When the hero dies I need it to go on. Allso if the hunter dies I want it to revive and start hunt again.
 
Level 22
Joined
May 11, 2004
Messages
2,863
Seperate triggers can be done with that.

At map start, issue it an attack command targeting a random player belonging to an enemy playergroup of the hunter (shouldnt need variables)

Should be like "Pick random unit from Playergrounp(Owner of picked unit belongs to enemy of player=true)) and order (hunter unit) to attack (picked unit)"

add triggers such as

Event- a unit dies
Condition- killing unit is equal to (hunter unit)
Action- repeat tha attack command above.

If the hunter ressurects through an anhk or reincarnation, add a trigger like:
Event- unit finishes casting an ability
Condition- Triggering unit is equal to (hunter unit)
I forgot the ability condition, but make sure it reincarnation.
Action- Issue attack command given above.

Hope this helps.
-VGsatomi
 
Level 3
Joined
Jun 6, 2004
Messages
50
Then I have only one question left to ask here...
If the hunter stops on the way cause the way is blocket, or something like that. How do I do so that the unit get's a new attack order as soon as it stops?
 
Status
Not open for further replies.
Top