Difference between revisions of "MoveToIfUnloaded - ObjectReference"

Jump to navigation Jump to search
imported>Scornett
m (Reverted edits by Scornett-Bot (talk) to last revision by Jlundin)
 
imported>Thingy Person
Line 8: Line 8:
== Syntax ==
== Syntax ==
<source lang="papyrus">
<source lang="papyrus">
bool Function MoveToIfUnloaded(ObjectReference akTarget, float afXOffset = 0.0, float afYOffset = 0.0, float afZOffset = 0.0)
bool function MoveToIfUnloaded(ObjectReference akTarget, float afXOffset = 0.0, float afYOffset = 0.0, float afZOffset = 0.0)
if !Is3DLoaded()
MoveTo(akTarget, afXOffset, afYOffset, afZOffset)
return true
else
return false
endif
endFunction
</source>
</source>


Navigation menu