Difference between revisions of "GetObjectType"

Jump to navigation Jump to search
131 bytes added ,  14:48, 19 August 2006
correct calling conventions - update note
imported>DragoonWraith
(OBSE)
 
imported>Behippo
(correct calling conventions - update note)
Line 2: Line 2:


'''Syntax:'''
'''Syntax:'''
  [''ObjectID.'']GetObjectType
  GetObjectType [''ObjectID'']


Must be called on a reference. Returns the type ID for the object.
Returns the object type for the specified object id.  Takes precedence over the reference version.
 
[''ref.'']GetObjectType
 
Called on a reference. Returns the type ID for the calling reference.


==Type Codes Returned==
==Type Codes Returned==
Line 79: Line 83:
==Notes==
==Notes==


*The majority of these return values are impossible to get because there is no way for those objects to run a script.
*You cannot currently get the majority of these types.  However, as OBSE expands most of these will become available.


[[Category: OBSE Functions]]
[[Category: OBSE Functions]]
[[Category: OBSE Item Functions]]
[[Category: OBSE Item Functions]]
[[Category: OBSE Reference Functions]]
[[Category: OBSE Reference Functions]]
Anonymous user

Navigation menu