Difference between revisions of "Spec check door open"
Jump to navigation
Jump to search
Line 82: | Line 82: | ||
E <room vnum> spec_check_door_open <door direction> <stat attribute number> <min stat> <success string vnum> <fail string vnum> | E <room vnum> spec_check_door_open <door direction> <stat attribute number> <min stat> <success string vnum> <fail string vnum> | ||
S | S | ||
[[Category:Area Development]] |
Latest revision as of 15:12, 1 November 2012
spec_check_door_open an in room extended special function. It is used to set a minimum attribute statistic (e.g. strength, dexterity) necessary to open a door in a given direction.
Usage:
E <room vnum> spec_check_door_open <door direction> <stat attribute number> <min stat> <success string vnum> <fail string vnum>
Field | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Room vnum | Room to apply the special function to | ||||||||||||||||
Door direction | The direction of the door the special function applies to
| ||||||||||||||||
Stat attribute number | The number of statistic attribute to use for comparison
| ||||||||||||||||
Min stat | The minimum stat value required to open the door | ||||||||||||||||
Vnum of success message | -1 - No success message #STRINGS vnum with success message | ||||||||||||||||
Vnum of failure message | -1 - No failure message #STRINGS vnum with failure message |
Example:
E <room vnum> spec_check_door_open <door direction> <stat attribute number> <min stat> <success string vnum> <fail string vnum> S