OBJECT VARIABLES: Difference between revisions

From AddictHelp
Jump to navigation Jump to search
Kahlan (talk | contribs)
New page: For details on how to use variables, please see the schelp for VARIABLES. Object variables are as follows: ================================ name The object's keyword list sh...
 
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
For details on how to use variables, please see the schelp for VARIABLES.
For details on how to use variables, please see [[VARIABLES]].


Object variables are as follows:
Object variables are as follows:
================================
----


     name      The object's keyword list
     name      The object's keyword list
     shortdesc The object's short description
     shortdesc The object's short description
     vnum      The object's vnum (-1 if it doesn't have one)
     vnum      The object's vnum (-1 if it doesn't have one)
     type      The object's type (see ohelp item_types)
     type      The object's type (see [[ITEM_TYPES]])
     val0      The object's values (see ohelp item_types)
     val0      The object's values (see [[ITEM_TYPES]])
     val1      ""    ""      ""                ""
     val1      ""    ""      ""                ""
     val2      ""    ""      ""                ""
     val2      ""    ""      ""                ""
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]]
          SPECIAL VARIABLES
 
[[CATEGORY:Scripts]]

Latest revision as of 02:10, 7 December 2009

For details on how to use variables, please see 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 ITEM_TYPES)
   val0      The object's values (see 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