×
Fallout Wiki
☢  Independent Fallout Wiki Resources  Vault logo

OnSit - Actor

Resource:Creation Kit > OnSit - Actor


Member of: Resource:Creation Kit/Actor Script

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

Syntax[edit]

Event OnSit(ObjectReference akFurniture)

Parameters[edit]

  • akFurniture: The furniture the actor just sat on.

Examples[edit]

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

Notes[edit]

  • This event fires three separate times when activating Power Armor. First when inserting the Fusion Core, again when entering the Power Armor, and finally when exiting the Power Armor. The last two are to be expected, but a modder may not expect this to fire on Fusion Core insertions, thus one should check first if the power armor already contains a Fusion Core, or use another measure to handle the extra firing of this event.

See Also[edit]