Description
Wiki Description
Sets a fan motor on/off state.
Documentation Comment
Set fan motor on.
Caveats
CK Wiki - Notes
- This fails gracefully. If no fan motor exists on the object it does nothing. No results are returned.
Parameters
boolabOn=true
CK Wiki Description
Desired On/Off state of the motor.
- Default:True
Examples
Event OnActivate(ObjectReference aSource)
bool bonoff = Self.IsFanMotorOn();
Self.FanMotorOn(!bonoff);
EndEventAuto-Generated Example
bool myBool__abOn
myObjectReference__toCallFunctionOn.FanMotorOn(myBool__abOn)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
