Difference between revisions of "Spec call for help"

From The Final Challenge Wiki
Jump to navigation Jump to search
(Created page with "spec_call_for_help is a Mob Extended Function. Usage: #SPECIALS N <mob vnum> spec_call_for_help <requested helper> <travel distance> -1 -1 -1 {| class="wikitable" |-...")
 
m
Line 15: Line 15:
|-
|-
|requested helper
|requested helper
|'''1''': mob with spec_cxxx<br />'''2''' mob with spec_sxxx
|'''1''' = mob with spec_cxxx<br />'''2''' = mob with spec_sxxx
|-
|-
|travel distance
|travel distance
|'''-1''' world-wide<br />'''0''' helper within same room<br />'''1''' helper within same area
|'''-1''' = world-wide<br />'''0''' = helper within same room<br />'''1''' = helper within same area
|-
|-
|'''-1'''
|'''-1'''
Line 34: Line 34:


  #SPECIALS
  #SPECIALS
  N 1200 spec_call_for_help 1 -1 -1 -1 -1 * Assign spec_call_for_help to mob 1200, call for spec_cxxx no matter where in the world that mob is
  N 1200 spec_call_for_help 1 -1 -1 -1 -1 * Assign spec_call_for_help to mob 1200, call for spec_cxxx anywhere in the world


[[Category:Area Development]]
[[Category:Area Development]]

Revision as of 13:31, 13 February 2015

spec_call_for_help is a Mob Extended Function.

Usage:

#SPECIALS
N <mob vnum> spec_call_for_help <requested helper> <travel distance> -1 -1 -1
Field Description
mob vnum The vnum of the mob that this special function should be attached to
requested helper 1 = mob with spec_cxxx
2 = mob with spec_sxxx
travel distance -1 = world-wide
0 = helper within same room
1 = helper within same area
-1 not used
-1 not used
-1 not used


Example:

#SPECIALS
N 1200 spec_call_for_help 1 -1 -1 -1 -1 * Assign spec_call_for_help to mob 1200, call for spec_cxxx anywhere in the world