Difference between revisions of "GetIsReference"
Jump to navigation
Jump to search
imported>JOG m |
imported>ShadowDancer (adding definition) |
||
Line 9: | Line 9: | ||
messagebox "I am NPC 3" | messagebox "I am NPC 3" | ||
endif | endif | ||
Returns 1 if the specified ObjectID is the calling object or actor. | |||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category: Object Functions]] | [[Category: Object Functions]] | ||
[[Category: Condition Functions]] | [[Category: Condition Functions]] |
Revision as of 16:03, 14 July 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
Returns 1 if the specified ObjectID is the calling object or actor.