Difference between revisions of "OnDistanceGreaterThan - ScriptObject"
Jump to navigation
Jump to search
m
OnDistanceGreaterThan - ScriptObject (edit)
Revision as of 09:17, 24 August 2016
, 09:17, 24 August 2016→Example: afDistance value was missing in the event registration
imported>Plplecuyer (Created page with "Category:Scripting Category:Papyrus Category:Events '''Member of:''' ScriptObject Event called when two objects are farther then the register...") |
imported>Docclox m (→Example: afDistance value was missing in the event registration) |
||
Line 21: | Line 21: | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Function SomeFunction() | Function SomeFunction() | ||
RegisterForDistanceGreaterThanEvent(Game.GetPlayer(), Bird) ; Before we can use OnDistanceGreaterThan we must register. | RegisterForDistanceGreaterThanEvent(Game.GetPlayer(), Bird, 1000.0) ; Before we can use OnDistanceGreaterThan we must register. | ||
EndFunction | EndFunction | ||