- Found in:
- Vanilla
Description
Wiki Description
Near-instantly snap this actor into the inactive suit of power armor aArmorFurniture. If passed "None" while an actor is in power armor, they will get out on the spot; or take a few steps in a random direction before getting out if their back is currently to a wall or other object.
Documentation Comment
Instantly pop an actor into aArmorFurniture without any animation or repositioning
Caveats
CK Wiki - Notes
- Don't call this immediately after enabling the actor in question. If you might do that, call SwitchToPowerArmor before calling ObjectReference.Enable(...).
- If you take an actor out of power armor with SwitchToPowerArmor(None), you can get access to the suit they just got out of by using ActorThatJustGotOut.GetLinkedRef(LinkPowerArmorKeyword)
Parameters
ObjectReferenceaArmorFurniture
CK Wiki Description
The inactive armor furniture to snap this actor into. It should not already be in use. It does not need to be enabled for this function to work (and it will be disabled after this function is called). It must be furniture with the "FurnitureTypePowerArmor" keyword. If "None", and this actor is currently in a suit, they will get out where they stand.
Examples
; Snap the dude into awesome armor
TheDude.SwitchToPowerArmor(AwesomeArmor); Get the dude out of his armor
TheDude.SwitchToPowerArmor(None)Auto-Generated Example
ObjectReference myObjectReference__aArmorFurniture
myActor__toCallFunctionOn.SwitchToPowerArmor(myObjectReference__aArmorFurniture)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
