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

A little Help For Spawning Monsters....

Status
Not open for further replies.
Level 5
Joined
Mar 24, 2008
Messages
98
Hey Can Somebody Help me with my Map i used to create a region that when you get to that Place creeps will appear but instead the game Hangs What am i supposed 2 do.
my Trigger is supposed to be like this.

Event
-Unit Enters Region
Condition
-Unit(triggering Unit) Equal to Hero
Actions
-Create 3 Units for Neutral Hostile

What Am i Supposed To do...
:sad:
 
Level 11
Joined
Dec 31, 2007
Messages
780
if you are gonna use this... consider that this action leaks... so you should do it this way

  • Actions
    • set (Temp_Location) (center of "your region")
    • Unit - Create 3 "Your Unit" for Neutral Hostile at (Temp_Location) facing Default building facing degrees
    • Custom Script: call RemoveLocation(udg_Temp_Location)
 
Last edited:
Level 10
Joined
Apr 3, 2006
Messages
535
dont get me started on leaks :p all my spawn actions where unit enters region, create blah blah and it leaks, especially when its used alot. So after finishing my map i learn about leaks and had to go back and saught it all out :( wish i knew as i did it all there was alot of triggers! But yea darkrider has given you the correct way to use this trigger.
 
Status
Not open for further replies.
Top