• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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
 

  • 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

Status
Not open for further replies.
Back
Top