• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Neutral Creep in region spawn like dota probem

Status
Not open for further replies.
Level 2
Joined
Oct 22, 2010
Messages
19
I got a problem spawning neutrals...
I used a triger like this :
Goliath A(name of triger)
Events
-Every 35 seconds of game time
Conditions
Actions
-If ((region 000<gen>contains Goliath A 0002 <gen>)Equal to true) Then do (do nothing) else do ( Unit - Create 1 Goliath A for Neutral Hostille at ( Center of Region 000 <gen>) facing 90.00 degrees)

....

And what happened was that after the creep is killed it respawns after 35 second like normal, but then after the 1st time it started to spawn every 35 seconds no matter if hes alive or dead.

THX in advance
 
Level 20
Joined
Jun 27, 2011
Messages
1,864

  • Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Temp_Unit = Footman 0001 <gen>


  • Spawn
    • Events
      • Time - Every 35.00 seconds of game time
    • Conditions
      • (Temp_Unit is alive) Equal to False
    • Actions
      • Set Temp_Player = (Owner of Temp_Unit)
      • Set Temp_Point = (Center of Region 000 <gen>)
      • Unit - Create 1 Footman for Temp_Player at Temp_Point facing Default building facing degrees
      • Set Temp_Unit = (Last created unit)
      • Custom script: call RemoveLocation( udg_Temp_Point )
      • Custom script: set udg_Temp_Point = null
 

Attachments

  • TestLocSpawn.w3x
    16.8 KB · Views: 124
Status
Not open for further replies.
Top