I want to know how I would make it so like say when I wear an piece of clothing, the clothing gets added to a list, and you can take all of your clothes off, and then wear them all again in the same order as before.
Example:
Wear Pants
Wear Shirt
Wear Shoes
Take off all clothes
Click Wear All
Clothes go back on in that order.
ID:157686
Jan 21 2010, 4:18 am
|
|
In response to PopLava
|
|
Always simple stuff that gets me stuck lol. Cheers, I understand now.
|
When they choose "get undressed", loop through the list and -= everything.
When they choose "get dressed", loop through the list and += everything.
I found some demo code by hitting f1 in dreammaker, clicking topic, and searching for overlays. I made some slight modifications. This example does not account for where, when, and how a player gets their stuff.