Visibility Groupsby Forum_account |
|
A library to manage image objects. [More] |
To download this library for your Linux/Mac installation, enter this on your command line:
DreamDownload byond://Forum_account.VisibilityGroups##version=3 Emulator users, in the BYOND pager go to File | Open Location and enter this URL:byond://Forum_account.VisibilityGroups##version=3 |
This library lets you assign atoms to visibility groups and lets you specify which visibility groups a player can see. Image objects are used and managed by the library to hide or show objects based on the visibility group assignments. For example:
mob The library manages the image object to make the dead players only visible to players that can see ghosts. Version 3 • Changed how image objects are used. Previously, an atom's display would be replaced with an image object when its vis object was created. Now, the atom is replaced with an image object only when they're added to a visibility group (when you call the vis.is_a() proc). The reason for this is that you might have a mob who isn't in any visibility groups but has a vis object just to limit what they can see - since this mob is not in any groups they're seen by all players and don't need to be represented by an image object. Version 2 • Added a demo that shows how to create roofs that are shown when you're outside the building, but hidden when you're inside the building. Version 1 • Initial posting |
Please support BYOND through Membership or a donation!
|
There are no suggestions for related libraries. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
More Libraries by Forum_account
|
Copyright © 2024 BYOND Software.
All rights reserved.