Prop LocationBound

From CoffeeMud Wiki
Jump to navigation Jump to search

Administrator                                                  Builder                                                              Player
=CoffeeMUD Builder Information=
Basics Praetor     Player Support     Commands     Zapper Masks Advanced Races     Classes     Abilities     Socials     Scripting    
Building Behaviors     Properties     Areas     Rooms     Exits     Items     Mobs Systems Achievements     Crafting     Help Info     Ships     Planes of Existence     Quests     Triumphs    
Effect: Leave the specified area, or room
Targets: Items, Mobs


Examples: AREA

ROOM ;PLAYEROK ;TIMEOUT=44 My Happy Area ;PLAYEROK My Area#12321

Description: This property will ensure that the affected mob or item is unable to leave or be taken away from its home location, which is determined by the parameters. Use ROOM or AREA to prevent it from leaving whatever its current room or area is. Using a specific area name or room id is more helpful, however, as it will not only prevent movement away from the given area or room, but will whisk the mob or item BACK to its home if it is ever able to be removed for some reason ANYWAY. If the PLAYEROK argument is given, then the item can be moved anywhere so long as a player is holding, riding, or being followed by the bound thing. If the TIMEOUT argument is given, then the item can be moved outside its bound only until the timer expires. If the ABSOLUTE argument is given, then the AREA and ROOM argument are no longer relative, but absolute to the starting room of the bound item, as if the room number or area name had been specified.