Just a couple of questions about the overlays var for objects.
1)Do you have to manually display the images in obj.overlays or is it done automatically?(ie. Do you have to add a line like this: world << obj.overlays)
2)Since they are part of the obj's vars do their icon_state vars change along with the obj's icon_state or must their
icon_state be changed manually?
I think that's everything....
ID:138447
Aug 8 2000, 8:34 am
|
|
In response to Tom H.
|
|
On 8/8/00 2:57 pm Tom H. wrote:
On 8/8/00 12:34 pm Manifacae wrote: Sweeeet... So let me get this straight. If I do this usr.icon_state = "fight" then everything in usr.overlays switches to to the fight animation as well? |
It's done automatically. Overlays behave just like additional 'icon' vars.
Their icon_states change as the main icon_state changes (ie- there is only one icon_state for the object). We thought that would be most convenient.
Sound good?