ResetPawnToDefaults

From The KillerJim Mod Wiki

PlayerProxy::ResetPawnToDefaults

OverrideAnimations.png

Server Only Function - This is an function executes only on the server.

Description

This function is used to reset the pawn to some default values, mostly related to the visual representation of the pawn.

If called the pawn's movement is reset, rotations reset, animations overrides, removed, etc. It would be commonly called if the pawn has been extensively altered and controlled (such as sitting in a chair) and you wish to have it appear back in it's default appearance.

This does not change any physical appearance (character model, etc.)

Arguments
1 Player Controller playerController
The target player controller that will be reset

Playing

Developers

Developer Reference