OnSit - Actor

From the CreationKit Wiki
Revision as of 05:43, 29 March 2015 by imported>Enai Siaion
Jump to navigation Jump to search

Member of: Actor Script

Event called when this actor sits on a piece of furniture.

Syntax

Event OnSit(ObjectReference akFurniture)

Parameters

  • akFurniture: The furniture the actor just sat on.

Examples

Event OnSit(ObjectReference akFurniture)
  Debug.Trace("We just sat on " + akFurniture)
endEvent

Bugs

This appears to have a bug that may cause akFurniture to be a piece of furniture you sat on previously, not the one you are currently sitting on.

See Also