View Single Post
Old
debussybunny563
Senior Member
 
debussybunny563's Avatar
 
Status: Offline
Posts: 852
Join Date: May 2010
Default 04-10-2011, 02:18 PM

I strongly do not recommend arrays. Lists are easier to work with, and have more functionality in Alice.

Say, for example, you want to have a bunch of objects do a simple task, like move forward, or turn, or appear/disappear. Make a list, and have all of the objects in the list. Then use the "For All Together" or "For All in Order" (depending if you want the objects to do the method at the same time, or in order), select the list, and place your method inside that statement.

I found this random world lying around that's an example, credit doesn't go to me though:
Attached Files
File Type: a2w airwolf.a2w (890.0 KB, 21 views)


Last edited by debussybunny563; 12-21-2012 at 12:00 AM.

|--------------------------------------------------------------------------------------------------|
|Link to weapons collection: http://www.alice.org/community/showthread.php?t=7368 |
|--------------------------------------------------------------------------------------------------|

I have been dead for quite some time now; not much hope for resurrection.
   
Reply With Quote