Difference between revisions of "Mob Function"

From The Final Challenge Wiki
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 #[[RESETS]] section, and has the following format:
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 <unknown number> <mob vnum> <number to load> <room vnum> * <optional comment>
M <mob vnum> <special function name> * Optional commend


For example, to add 3 Midgaard Cityguards (vnum 3067) to room 3041:
For example, to give a Midgaard Cityguard of vnum 3067 the spec_guard mob function:
  #RESETS<br>
  #SPECIALS<br>
  M 0 3067 3 3041 * Load 3 Cityguards (vnum 3067) to East Gate (room 3041)
  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

List of Mob Functions