BPI_LPAMG_PCH

Introduction

The Player Character Interface (BPI_LPAMG_PCH) is the Blueprint Interface in the asset that contains all the functions that a player character needs to have.

You can find the Player Character Interface at this path: LowPolyAnimatedModernGuns/Demo/Core/Pawns/BPI_LPAMG_PCH

Functions

Is Offsetting Location. Returns true if the player is offsetting the character’s weapon bone location.

Get Offsetting Amplitude Location. Returns the value of Offsetting Amplitude Location.

Get Offsetting Amplitude Rotation. Returns the value of Offsetting Amplitude Rotation.

Is First Person. Returns the value of First Person.

Is Running. Returns the value of Running.

Is Crouching. Returns the value of Crouching.

Is Aiming. Returns the value of Aiming.

Get Input Value Movement Horizontal. Returns the combined horizontal axis movement of the character.

Get Input Value Movement Vertical. Returns the combined vertical axis movement of the character.

Get Actor Animated Low Poly Weapon. Returns the reference to the character’s current equipped item, which is usually a weapon to be fair, that’s why we called it what we called it.

Get Weapon Offset Standing Location. Returns the value of Weapon Offset Standing Location.

Get Weapon Offset Standing Rotation. Returns the value of Weapon Offset Standing Rotation.

Get Weapon Offset Aiming Location. Returns the value of Weapon Offset Aiming Location.

Get Weapon Offset Aiming Rotation. Returns the value of Weapon Offset Aiming Rotation.

Get Weapon Offset Running Location. Returns the value of Weapon Offset Running Location.

Get Weapon Offset Running Rotation. Returns the value of Weapon Offset Running Rotation.

Is Camera Animated. Returns the value of Camera Animated. This value usually tells us whether the character’s camera is parented to the camera bone, which means it is animated, or not.

Is Unarmed. Returns the value of Unarmed. This tells us whether the character is currently holding an item, or is just unarmed.

Get Input Value Look Horizontal. Returns the value of the horizontal mouse input.

Get Input Value Look Vertical. Returns the value of the vertical mouse input.

Is Jumping. Returns the value of Jumping. This tells us whether the player is currently trying to test the jumping animation or not.

Is Holstered. Returns the value of Holstered. This tells us whether the player is currently trying to test the holster animations or not.

Is Lowered. Returns the value of Lowered. This tells us whether the player is currently trying to test the lowered animation or not.

Get Animation Name Text. Returns the name of the current active montage on the character mesh.

Set Knife Mesh Visibility. Sets the visibility of the knife mesh. We use this from Animation Notifies, usually so we can hide and show the knife at appropriate times.

Get Camera Component. Returns the character’s camera.

Is Locked In First Person. Returns the value of Locked In First Person. This value tells us whether the character’s camera is seeing things from the first person point of view.

Get Time Firing. Returns the amount of time that this pawn has been firing its equipped weapon.

Is Inspecting. Returns true if the pawn is currently inspecting its equipped item.

Is Tactical Sprinting. Returns true if the pawn is currently tactical sprinting.


Last updated

Was this helpful?