Difference between revisions of "GetIsReference"

Jump to navigation Jump to search
239 bytes added ,  21:27, 21 July 2006
clarifying as referenceID, not objectID
imported>ShadowDancer
(adding definition)
imported>Scruggs
(clarifying as referenceID, not objectID)
Line 1: Line 1:
'''Syntax:'''
'''Syntax:'''
  GetIsReference ObjectID
  GetIsReference ReferenceID
'''Example:'''  
'''Example:'''  
   if GetIsReference NPC1 == 1
   if GetIsReference NPC1 == 1
Line 10: Line 10:
   endif
   endif


Returns 1 if the specified ObjectID is the calling object or actor.
Returns 1 if the calling object is the specified reference. As opposed to [http://cs.elderscrolls.com/constwiki/index.php/GetIsID GetIsID], which checks against the base object ID as defined in the object window, this function takes a specific reference as a parameter. The reference must be persistent.


[[Category: Functions]]
[[Category: Functions]]
[[Category: Object Functions]]
[[Category: Object Functions]]
[[Category: Condition Functions]]
[[Category: Condition Functions]]
Anonymous user

Navigation menu