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

[Trigger] Which method should I use to avoid leaking location.

Status
Not open for further replies.
Level 5
Joined
Dec 25, 2018
Messages
110
First method
  • For each (Integer x) from 1 to 6, do (Actions)
    • Loop - Actions
      • Set LOCATION = y
      • Custom script: call RemoveLocation(udg_LOCATION)
Second method

  • For each (Integer x) from 1 to 6, do (Actions)
    • Loop - Actions
      • Set LOCATION = y
  • Custom script: call RemoveLocation(udg_LOCATION)
I think first option is obvious choice, but I might understand something wrong here. Just want to make sure.
 
Status
Not open for further replies.
Top