PDA

View Full Version : Can you group objects?


KnightWhoSaysNi57
06-13-2007, 08:20 PM
If so, I would like to know how
-Thanks!

gdev
06-14-2007, 06:30 AM
Well you can put objects into a list and then manipulate them all together or individually. Make a list in the properties then make a variable that is a list. It might be more helpful if we knew what you wanted to do with them in a group so that we could give you the best answer.

DrJim
06-14-2007, 09:02 AM
You can right click in the Object Tree window to create a new group and then drag objects into this group. This has limited usefulness, however, since it really does nothing except change the display (you can't export or delete objects as groups, for example).

Also, as an alternative to creating a list, you can make any object the vehicle of another object so that commands acting on the parent object will also act on that object. Objects with this type of relationship, however, don't automatically copy or export together - this can give you real problems if you try to copy blocks of code. :(

Finally, the only way to add a hierarchial object is to import the sub-objects in .ase format (see http://www.alice.org/community/showthread.php?t=570 ). If you try to export and re-import in .a2c format to make a different hierarchial grouping of Alice objects, it doesn't work. All of the .a2c objects go right to the top level of the Object Tree hierarchy.

Jambajuice
05-14-2010, 12:57 PM
Is there a way to say group a bunch of cows and then say a chicken hit any of them and for it to lose and have to resstart.

King Gamer(gorit)
05-14-2010, 10:01 PM
Firstly, don't bump old threads. Secondly, you're title says what you need. It is not grouping however creating aobject variable list with each of the cows in it. You then say for all together do...

Watsamax1
05-15-2010, 12:51 PM
you can make a group by right clicking the area where all the objects are.

King Gamer(gorit)
05-15-2010, 06:18 PM
watsamx read his question not just the topic. He was aking about something you use a list for.
P.S. You are becoming the new jediaction of usless posts.