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

[Solved] Cleaning leak from point array question

Status
Not open for further replies.
Level 7
Joined
Feb 23, 2020
Messages
253
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?
 
Level 7
Joined
Feb 23, 2020
Messages
253
@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.
Top