⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    InstantScopedAimer MonoBehaviour

    Overview

    The InstantScopedAimer behaviour instantly zooms the camera and switches to a HUD scope

    Inspector

    InstantScopedAimer

    Properties

    Name Type Description
    Start Active Boolean Should this module register as the active aimer immediately on start.
    Activation Mode Dropdown How does module activation work. Options are: Component means the component will be enabled / disabled - use this when you have multiple modules on an object such as the firearm root. GameObject activates / deactivates the object - use this for attachments where you want the geo to appear/disappear.
    Aim Up Audio AudioClip An audio clip to play when the weapon is raised.
    Aim Down Audio AudioClip An audio clip to play when the weapon is lowered.
    Hip Accuracy Cap Float The highest accuracy the firearm can achieve while not aiming down sights.
    Aimed Accuracy Cap Float The highest accuracy the firearm can achieve while aiming down sights.
    Can Aim While Reloading Boolean Should the weapon be lowered when reloading or can it stay aimed.
    On Aim Up UnityEvent An event called when the weapon is fully raised.
    On Aim Down UnityEvent An event called when the weapon is fully lowered.
    Hud Scope Key String The key for the specific scope to show.
    Fov Multiplier Float A multiplier for the camera FoV for aim zoom.
    Position Spring Multiplier Float A multiplier for procedural spring position animation on the weapon. Used to reduce movement when the firearm is close to the camera.
    Rotation Spring Multiplier Float A multiplier for procedural spring rotation animation on the weapon. Used to reduce movement when the firearm is close to the camera.
    Crosshair Up FpsCrosshair The crosshair to show when aiming down sights.
    Crosshair Down FpsCrosshair The crosshair to show when not aiming down sights.

    See Also

    Modular Firearms

    First Person Camera

    HudScope

    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX