GetIsReference

From the Oblivion ConstructionSet Wiki
Revision as of 15:25, 2 April 2006 by imported>JOG
Jump to navigation Jump to search

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"