⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    BurstFireTrigger MonoBehaviour

    Overview

    The BurstFireTrigger module fires a set number of shots in rapid succession.

    Inspector

    BurstFireTrigger

    Properties

    Name Type Description
    Start Active Boolean Should this module register as the active trigger 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.
    Burst Size Int The number of shots in a burst.
    Burst Spacing Int Cooldown between shots in a burst (number of fixed update frames). The info box below this show the rate of fire based on the shot spacing.
    Repeat Delay Int How many fixed update frames from last shot of a burst before starting another (0 = requires fresh trigger press).
    Cancel On Release Boolean Is the burst cancelled when the trigger is released.

    See Also

    Modular Firearms

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