Aller au contenu

Photo

Simulating dynamic arrays


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Kato -

Kato -
  • Members
  • 392 messages

Hi there,

 

I'm wondering if it's feasible in nwscript, for I need to loop over several variables while removing one on each iteration. Sorry if this has been asked before, thanks for any insight

 

Kato 



#2
Shadooow

Shadooow
  • Members
  • 4 471 messages

I invented a pseudo-list structure. As long as you can replace the array with list (and thats most of the time unless you need 2D,3D array) it suitable solution.

 

LINK



#3
Kato -

Kato -
  • Members
  • 392 messages

Hey Shadooow :) That was fast lol, tyvm for sharing this!

 

Kato