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

loop index array remove

Status
Not open for further replies.
Level 18
Joined
May 11, 2012
Messages
2,103
im trying to find out how to remove a bunch of location through a loop i know the normal call RemoveLocation( udg_Random_Point[.] ) the . being the number but how do i remove it for a loop from 1 to 38 or so do i put it in a loop then do call RemoveLocation( udg_Random_Point[for integer a] ) or something like tht ?

make custom script like this:
  • Custom script: call RemoveLocation(udg_Random_Point[bj_forLoopAIndex])
if you do it for integer A

  • Custom script: call RemoveLocation(udg_Random_Point[bj_forLoopBIndex])
for integer B
 
Status
Not open for further replies.
Top