Mod:Creation Kit/FanMotorOn - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Sets a fan motor on/off state.

Syntax
Function FanMotorOn( bool abOn = true ) native

Parameters

 * abOn: Desired On/Off state of the motor.
 * Default: True

Return Value
None

Examples
Event OnActivate(ObjectReference aSource) bool bonoff = Self.IsFanMotorOn; Self.FanMotorOn(!bonoff); EndEvent