SetDontMove - Actor

From the CreationKit Wiki
Revision as of 12:11, 12 October 2016 by imported>SarthesArai (→‎Notes: note on player behaviour)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Actor Script (Requires 1.8)

Flags this actor as "don't move" or not.

Syntax

Function SetDontMove(bool abDontMove = true) native

Parameters

  • abDontMove: Set to limit the actors movement. Don't let this actor be pushed around by another actor.
    • Default: True

Return Value

None.

Examples

; Set dragon to stay put and not be pushed around.
Dragon.SetDontMove()


; Clear dragons's "don't move" status
Dragon.SetDontMove(false)

Notes

  • Using SetDontMove on the player disables player movement, camera switching, and camera rotating, but keeps the full HUD displayed (unlike Game.DisablePlayerControls()).

See Also