Difference between revisions of "GetDistance"
Jump to navigation
Jump to search
imported>JOG m |
imported>DragoonWraith (linked to Oblivion Units article) |
||
Line 1: | Line 1: | ||
Returns the distance the calling object | Returns the distance in [[Oblivion Units|units]] from the calling object to the Reference "ObjectID". | ||
'''Syntax:''' | '''Syntax:''' |
Revision as of 12:38, 1 June 2006
Returns the distance in units from the calling object to the Reference "ObjectID".
Syntax:
GetDistance ObjectID
Examples:
GetDistance TestMarkerRef
Set distance to Getdistance Player
Ref Actor Begin OnActivate set Actor to GetActionRef if Getdistance Actor > 70 messagebox "Come closer my friend" endif end