Difference between revisions of "Mob Function"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
A mob special function gives a mobile additional functionality. It is specified in an area file in the #[[ | A mob special function gives a mobile additional functionality. It is specified in an area file in the #[[SPECIALS]] section, and has the following format: | ||
M | M <mob vnum> <special function name> * Optional commend | ||
For example, to | For example, to give a Midgaard Cityguard of vnum 3067 the spec_guard mob function: | ||
# | #SPECIALS<br> | ||
M | M 3067 spec_guard | ||
[[Area_Special_Functions#Mob_Functions|List of Mob Functions]] | [[Area_Special_Functions#Mob_Functions|List of Mob Functions]] |
Revision as of 13:44, 9 February 2011
A mob special function gives a mobile additional functionality. It is specified in an area file in the #SPECIALS section, and has the following format:
M <mob vnum> <special function name> * Optional commend
For example, to give a Midgaard Cityguard of vnum 3067 the spec_guard mob function:
#SPECIALS
M 3067 spec_guard