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:
 
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:
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.
Back
Top