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

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: 125
Status
Not open for further replies.
Top