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 #[[RESETS]] section, and has the following format:


M <unknown number> <mob vnum> <number to load> <room vnum>
M <unknown number> <mob vnum> <number to load> <room vnum> * <optional comment>


For example, to add 3 Midgaard Cityguards (vnum 3067) to room 3041:
For example, to add 3 Midgaard Cityguards (vnum 3067) to room 3041:
  <nowiki>#</nowiki>RESETS<br>
  #RESETS<br>
  M 0 3067 3 3041
  M 0 3067 3 3041 * Load 3 Cityguards (vnum 3067) to East Gate (room 3041)


[[Area_Special_Functions#Mob_Functions|List of Mob Functions]]
[[Area_Special_Functions#Mob_Functions|List of Mob Functions]]

Revision as of 13:20, 9 February 2011

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:

M <unknown number> <mob vnum> <number to load> <room vnum> * <optional comment>

For example, to add 3 Midgaard Cityguards (vnum 3067) to room 3041:

#RESETS
M 0 3067 3 3041 * Load 3 Cityguards (vnum 3067) to East Gate (room 3041)

List of Mob Functions