Difference between revisions of "Mob Function"

From The Final Challenge Wiki
Jump to navigation Jump to search
Line 3: Line 3:
M <unknown number> <mob vnum> <number to load> <room vnum>
M <unknown number> <mob vnum> <number to load> <room vnum>


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


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

Revision as of 13:14, 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>

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

#RESETS
M 0 3067 3 3041

List of Mob Functions