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

[Solved] Cleaning leak from point array question

Status
Not open for further replies.
Level 8
Joined
Feb 23, 2020
Messages
255
Hello, how do i clean the leak from a point that looks like this?

  • Set VariableSet RandomSpawn = (Random integer number between 1 and 13)
  • Unit - Create 10 Troll Priest (Level 2-5) for Player 12 (Brown) at Region[RandomSpawn] facing Default building facing degrees
  • Unit - Create 10 Troll (Level 1-3) for Player 12 (Brown) at Region[RandomSpawn] facing Default building facing degrees
  • Unit - Create 10 Troll Warrior (Level 1-3) for Player 12 (Brown) at Region[RandomSpawn] facing Default building facing degrees
call RemoveLocation(udg_Region[RandomSpawn]), does not work, so how do i clean this?
 
@JAKEZINC Although, how do i fix this the easiest way? If i do like this it wont work properly since the second creation of units wont spawn

  • Set VariableSet RandomSpawn = (Random integer number between 1 and 13)
  • Unit - Create 15 Troll (Level 1-3) for Player 12 (Brown) at Region[RandomSpawn] facing Default building facing degrees
  • Custom script: call RemoveLocation(udg_Region[udg_RandomSpawn])
  • Unit - Create 15 Troll Warrior (Level 1-3) for Player 12 (Brown) at Region[RandomSpawn] facing Default building facing degrees
  • Custom script: call RemoveLocation(udg_Region[udg_RandomSpawn])
 
Status
Not open for further replies.
Back
Top