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

How can I do this

Status
Not open for further replies.
Level 7
Joined
Aug 15, 2012
Messages
318
I would like to make a trigger that when your hero enters region it creates the duplicate hero not far away for neutral hostile that you have to kill as a quest. If someone can give me a quick explaination on how to do this id appreaciate it I am working on finishing my RPG which I will upload here within the next few weeks as a beta test.
 
Level 25
Joined
May 11, 2007
Messages
4,650
Pseudo code for the problem.

Events: Unit enters region
Conditions: Player owner of unit not equal to neutral hostile
Unittype is hero
Actions:
set temppoint1 = positionOf(triggering unit)
unit create 1 unit-type of triggering unit at temppoint1 for Neutral Hostile
remove temppoint1
 
Status
Not open for further replies.
Top