bool IsWeaponLowered { get; set; }

robot_2Generated
code_blocksInput

Description

Indicates whether the weapon is currently lowered. By default, this property will return true when the character has not been shooting for a while, allowing the weapon to be lowered automatically.

Usage

Use this property to check if the character's weapon is in a lowered state. This can be useful for determining the character's readiness to engage in combat or for triggering animations or behaviors that depend on the weapon's state.

Example

// Example of checking if the weapon is lowered
CitizenAnimationHelper animationHelper = new CitizenAnimationHelper();

if (animationHelper.IsWeaponLowered)
{
    // Perform actions when the weapon is lowered
    // For example, play a relaxed animation
}