Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Come and join our gamer community by
registering for free here
Other Gaming Forum
PC games
WarCraft III Modding
Tutorial: Arrays
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Daelin" data-source="post: 110443" data-attributes="member: 5892"><p>I find JASS mostly useful for spellmaking (but not only), maybe because I'm a spellmaker. For this reason, I operate a lot with units, and would probablyneed arrays for units. But if you have unit groups I really suggest you use those instead of arrays, mostly because you can use a lot of native functions with them, and because it is a lot faster. And not only! Unit groups use a single handler, while arrays use multiple, so groups are faster. They are easier cleaned and easier nullified. Mostly, you cannot transmit through parameters arrays (or atleast I didn't try) so groups have this advantage as well.</p><p></p><p>Of course, I'm referring to JASS now, not to GUI. Yes, in GUI I find arrays better because you can't benefit from functions. But you should really mention this! Or else some people might believe that arrays are useful in JASS as well (thing not that true).</p><p></p><p>~Daelin</p></blockquote><p></p>
[QUOTE="Daelin, post: 110443, member: 5892"] I find JASS mostly useful for spellmaking (but not only), maybe because I'm a spellmaker. For this reason, I operate a lot with units, and would probablyneed arrays for units. But if you have unit groups I really suggest you use those instead of arrays, mostly because you can use a lot of native functions with them, and because it is a lot faster. And not only! Unit groups use a single handler, while arrays use multiple, so groups are faster. They are easier cleaned and easier nullified. Mostly, you cannot transmit through parameters arrays (or atleast I didn't try) so groups have this advantage as well. Of course, I'm referring to JASS now, not to GUI. Yes, in GUI I find arrays better because you can't benefit from functions. But you should really mention this! Or else some people might believe that arrays are useful in JASS as well (thing not that true). ~Daelin [/QUOTE]
Verification
Post reply
Other Gaming Forum
PC games
WarCraft III Modding
Tutorial: Arrays
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top