Background for Fallout 4
Member of the Actor script
voidfunctionSwitchToPowerArmor(ObjectReferenceaArmorFurniture)Native

[DEV SERVER] Loading description...


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

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.