How to remove 1 array of a point variable with array?

MP®

Member
Reaction score
11
Like the title says..

So for example, I have 'Point' with an array size of 12. Now I want to remove only Point[3] and leave all other points.

Which custom script do I have to use for this?

thnx
 

MP®

Member
Reaction score
11
Is it also possible to get the array number? Like in this case the player number of owner of triggering unit..

What script should I use for that?
 

MP®

Member
Reaction score
11
Is it:

call RemoveLocation (udg_SneakPoint[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))])

?
 

jnZ

I
Reaction score
64
That should be correct.

Heres an advice: try figuring out problems yourself before posting new threads here all the time.
In the end you learn more by doing so.
You came up with the answer to your own problem here so obviously you are capable of it.

When I tried to learn some jass code I just created GUI triggers with lines that would hint me into the right direction and converted those to text. By doing so and by checking the map script I was able to solve most of my problems.
 

MP®

Member
Reaction score
11
Yeah I'm sorry, I just found out the convert to text option! Thnx anyway
 

jnZ

I
Reaction score
64
There is no need to apologize. I didn't meant it as an offensive comment it was just an advice.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top