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

doesn't work anymore

Status
Not open for further replies.
Level 9
Joined
Feb 20, 2014
Messages
409
Hi,
I use this trigger since one year (creating rpg map) and today the creeps don't respawn anymore.
The trigger is still the same,it works since one year,including yesterday.
I don't what's wrong.

  • Events
    • Map initialization
  • Groupe unit - Pick every unit in (Units in (Playable map area)) and do (Actions)
    • Boucle - Actions
      • Set TempInt = (TempInt + 1)
      • Custom script: set udg_CreepX[udg_TempInt] = GetUnitX(GetEnumUnit())
      • Custom script: set udg_CreepY[udg_TempInt] = GetUnitY(GetEnumUnit())
      • Unité - Set the custom value of (Picked unit) to TempInt
  • Events
    • Unit - A unit owned by Neutre Hostile Meurt
  • Actions
    • Custom script: local integer id = GetUnitTypeId(GetTriggerUnit())
    • Custom script: local integer i = GetUnitUserData(GetTriggerUnit())
    • Custom script: local real x = udg_CreepX[i]
    • Custom script: local real y = udg_CreepY[i]
    • Wait 10.00 seconds
    • Custom script: call SetUnitUserData(CreateUnit(GetTriggerPlayer(), id, x, y, 0.), i)
 
Status
Not open for further replies.
Top