Difference between revisions of "SetDontMove - Actor"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>JLundin
(Created page with "Category:Scripting Category:Papyrus '''Member of:''' Actor Script Flags this actor as "don't move" or not. == Syntax == <source lang="papyrus"> Function SetDontM...")
 
imported>JustinOther
m (Affixed version requirement)
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Papyrus]]
'''Member of:''' [[Actor Script]]
'''Member of:''' [[Actor Script]] ''(Requires 1.8)''


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

Revision as of 23:13, 5 November 2012

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)

See Also