Spec mage protector

From The Final Challenge Wiki
Revision as of 11:41, 11 November 2012 by Natilena (talk | contribs)
Jump to navigation Jump to search

spec_mage_protector is a Mob Extended Function and takes additional arguments that allow you specify what the protector will do before attacking.

Usage:

N <mob vnum> spec_mage_protector <strings vnum> -1 -1 -1 -1

The strings vnum is the vnum specified in the STRINGS section of the area file. It only requires the 2nd "to_room" string. It is not a say or a tell, just a message displayed to the room so in the string you must be explicit in how it should look.

ie A funny little bunny says, 'No! I'll save you!'~

If a strings vnum is not used -1 should be there in its place and the mob will send to the room "$n screams 'Save our Master!!'"

This is how my funny little bunny test looks in the area file.

  1. SPECIALS

N 2108 spec_mage_protector 2108 -1 -1 -1 -1


  1. STRINGS
  2. 2108

~ $n says, 'No! I'll save you!' ~