Difference between revisions of "MOBReSave"

From CoffeeMud Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{{BehaviorTemplate|Name=MOBReSave|Targets=MOBs|Usage=min, max ticks, a percent chance|Examples=min=140 max=140 chance=100|Description=
+
{{#section-h:WikiHelpBehaviors|MOBReSave}}
This behavior allows the mob with it to be updated in the CoffeeMud database according to the frequency defined by min, max ticks.  This behavior is tricky to set up the first time. When you know you are going to want an updating mob in a room, you should first go to the room and create a GenMob with this behavior (no parameters needed).  Wait a few seconds, and you will see the GenMob that you created has disappeared.  Now you are free to add this behavior to one or more other mobs at your leisure.  Don't forget to resave the room when you are done!}}
 
  
 
===Notes===
 
===Notes===
 
.
 
.
 
[[Category:MOBS(BuilderInfo)]]
 
[[Category:MOBS(BuilderInfo)]]

Latest revision as of 14:12, 11 April 2021


CoffeeMUD
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    
===MOBReSave===
Targets: MOBs
Parameters: min, max ticks, a percent chance
Examples: min=140 max=140 chance=100
Description: This behavior allows the mob with it to be updated in the CoffeeMud database according to the frequency defined by min, max ticks. This behavior is tricky to set up the first time. When you know you are going to want an updating mob in a room, you should first go to the room and create a GenMob with this behavior (no parameters needed). Wait a few seconds, and you will see the GenMob that you created has disappeared. Now you are free to add this behavior to one or more other mobs at your leisure. Don't forget to resave the room when you are done!


Notes

.