GetForcedLandingMarker - Actor

From Creation Kit
Jump to: navigation, search

Member of: Actor Script

Returns the ref at which this actor is obliged to land, if one was set by SetForcedLandingMarker (or none, if none was set).

Syntax

ObjectReference Function GetForcedLandingMarker() native

Parameters

None.

Return Value

The ObjectReference that is set as this actor's forced landing marker (or None if none has been set).

Examples

; Does the dragon have a forced landing marker?
if (Dragon.GetForcedLandingMarker() == None)
  Debug.Trace("The dragon does not have a forced landing marker")
endIf

See Also