Difference between revisions of "GetIsReference"
Jump to navigation
Jump to search
imported>JOG m |
imported>JOG m |
||
Line 8: | Line 8: | ||
else | else | ||
messagebox "I am NPC 3" | messagebox "I am NPC 3" | ||
endif | |||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category: Object Functions]] | [[Category: Object Functions]] | ||
[[Category: Condition Functions]] | [[Category: Condition Functions]] |
Revision as of 15:34, 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" endif