• 🏆 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!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

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