Difference between revisions of "GetIsReference"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
 
imported>JOG
m
Line 1: Line 1:
Placeholder
'''Syntax:'''
GetIsReference ObjectID
'''Example:'''
  if GetIsReference NPC1 == 1
    messagebox "I am NPC 1"
  elseif GetIsReference NPC2 == 1
    messagebox "I am NPC 2"
  else
    messagebox "I am NPC 3"


[[Category: Functions]]
[[Category: Functions]]
[[Category: Object Functions]]
[[Category: Object Functions]]
[[Category: Condition Functions]]
[[Category: Condition Functions]]

Revision as of 15:25, 2 April 2006

Syntax:

GetIsReference ObjectID

Example:

 if GetIsReference NPC1 == 1
   messagebox "I am NPC 1" 
 elseif GetIsReference NPC2 == 1
   messagebox "I am NPC 2" 
 else
   messagebox "I am NPC 3"