OBJECT VARIABLES: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 16: | Line 16: | ||
seconds until the timer expires, otherwise it returns 0 | seconds until the timer expires, otherwise it returns 0 | ||
See also: [[VARIABLES]], [[ROOM VARIABLES]], [[CHARACTER VARIABLES]], | See also: [[VARIABLES]], [[ROOM VARIABLES]], [[CHARACTER VARIABLES]], [[SPECIAL VARIABLES]] | ||
[[CATEGORY:Scripts]] | [[CATEGORY:Scripts]] | ||
Revision as of 17:34, 29 November 2008
For details on how to use variables, please see the schelp for VARIABLES.
Object variables are as follows:
name The object's keyword list
shortdesc The object's short description
vnum The object's vnum (-1 if it doesn't have one)
type The object's type (see ohelp item_types)
val0 The object's values (see ohelp item_types)
val1 "" "" "" ""
val2 "" "" "" ""
val3 "" "" "" ""
min_level The object's min level
timer If the obj has a timer, it will return the number of
seconds until the timer expires, otherwise it returns 0
See also: VARIABLES, ROOM VARIABLES, CHARACTER VARIABLES, SPECIAL VARIABLES