Changing the behavior of a mobile
From Mortal Realms Mud
Syntax: MSET <mobile name> ACT <cact flag>
cost: $1,000,000
Setting the ACT of a mobile lets you tell the mobile how it should react to certain situations.
This command does NOT set <cact flag>'s, but it TOGGLEs them. So, if CACT_WIMPY is already set on your guard, then the command: > MSET guard ACT cact_wimpy
would clear CACT_WIMPY, thus making the guard NOT be wimpy.
The allowable <cact flag>'s are:
- CACT_SENTINEL (the mobile will stand in one place)
- CACT_SCAVENGER (the mobile will pick up items from the room)
- CACT_AGGRESSIVE (the mobile will attack other players)
- CACT_WIMPY (the mobile will flee if it's almost dead)
- CACT_WEAK (the mobile cannot carry anything)
- CACT_SMART (the mobile can talk)
- CACT_NO_ORDER (the mobile cannot be ordered (like a pet can))
- An Example of creating a mobile
- CASTLE MOBILE Menu

Join us at FaceBook