Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-15-2005, 01:32 AM
DarkShadows_Legend DarkShadows_Legend is offline
Cult of the Winky
DarkShadows_Legend's Avatar
Join Date: Apr 2003
Location: Florida
Posts: 614
DarkShadows_Legend is on a distinguished road
Send a message via AIM to DarkShadows_Legend
Question MultiDimensional Arrays

This is new to me and it looks weird. Will someone be kind enough to explain to me how they work and provide some basic examples. I just got GS2 on this world I'm developing and want to experiment with this stuff.

I have seen some scripts that have lines of code like ...
NPC Code:

myvar = {{{val}}, val2, val3};



I believe there is another way of creating them for GS2 that is like old GS1
Quote:
GS1 -> setarray myvar,length;
GS2 -> setarray(myvar,length); // not quite sure
How would a multidimensional array be set for GS2?

If anyone could explain this to me and provide a couple of examples I would be extremely greatful. Thanks
__________________
- Criminal X

"I rather be hated for being myself, than be liked for being what you like best. I go above the influence, not under." - Me
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:48 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.