Difference between revisions of "Mob Function"
m (typo) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
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: | 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 | M <mob vnum> <special function name> * Optional comment | ||
For example, to give a Midgaard Cityguard of vnum 3067 the spec_guard mob function: | For example, to give a Midgaard Cityguard of vnum 3067 the spec_guard mob function: | ||
Line 7: | Line 7: | ||
M 3067 spec_guard | M 3067 spec_guard | ||
[[Area_Special_Functions#Mob_Functions|List of Mob Functions]] | |||
FROM AWG - Need to integrate | |||
This specfun gives a mob special powers or abilities. Of the specfun class called Specials, only one special per mob is allowed. These specfuns are placed together in the SPECIALS block. | |||
The layout of a Mob Specfun is as follows: | |||
A: This must be a M. | |||
B: This is the mob's vnum. | |||
C: This is the name of a mob specfun off the approved mob specfun list. It must be appropriate to the mob, i.e. only dragons should have a dragon class specfun such as spec_sleeping_dragon. | |||
E: This usually would contain the mob's name. | |||
===[[Area_Special_Functions#Mob_Functions|List of Mob Functions]]=== | |||
[[Category:Area Development]] | [[Category:Area Development]] |
Latest revision as of 15:08, 24 April 2016
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 comment
For example, to give a Midgaard Cityguard of vnum 3067 the spec_guard mob function:
#SPECIALS
M 3067 spec_guard
FROM AWG - Need to integrate
This specfun gives a mob special powers or abilities. Of the specfun class called Specials, only one special per mob is allowed. These specfuns are placed together in the SPECIALS block.
The layout of a Mob Specfun is as follows:
A: This must be a M.
B: This is the mob's vnum.
C: This is the name of a mob specfun off the approved mob specfun list. It must be appropriate to the mob, i.e. only dragons should have a dragon class specfun such as spec_sleeping_dragon.
E: This usually would contain the mob's name.