Skip to content

Functions and Events

The following are a list of functions/events that you can use to interact with the SlowMoComponent.


Camera Control

  • Add Control Pitch

    Used to rotate the camera up and down.

    FX_AddControlPitch

  • Add Control Yaw

    Used to rotate the camera left and right.

    FX_AddControlYaw


Slow Mo Status

  • IsSlowMoActive

    Current status of the Slow Mo effect.

    GET_IsSlowMoActive

    @IsSlowMoActive Returns true if Slow Mo is active, returns false otherwise.

  • GetTimedProgress

    Current status of the time limited Slow Mo effect.

    FX_GetTimedProgress

    @IsActive returns true if time limited slow mo is activated, returns false otherwise.
    @Count is the amount of time that has passed since TimedSlowMotion is called, value in seconds.
    @Duration is the lifetime of the Slow Mo effect, how long it should last, value in seconds.
    @Progress is the percentage of Count/Duration, value ranges from 0 to 1, 1 means the duration is complete.

    See OnTimedUpdated to access these values from an event.


Modify Settings

  • Reset Settings

    Reset the SlowMoComponent settings to its default values (the values at the start of the game).

    This function needs to be called before updating the rest of the settings.
    If this function is not called beforehand, the previous setups will be carried over to the new one.

    UpdateSettings need to be called afterwards to finalize the setup.

    FX_ResetSettings

  • Slow Mo Time Settings

    Updates the values of Slow Mo Time Settings.
    Make sure to call UpdateSettings afterwards to finalize the changes.

    See Details and Settings for detailed explanation of the parameters.

    FX_SlowMoTimeSettings

  • Slow Mo Camera Control

    Updates the values of Slow Mo Camera Control.
    Make sure to call UpdateSettings afterwards to finalize the changes.

    See Details and Settings for detailed explanation of the parameters.

    FX_SlowMoCameraControl

  • Slow Mo Visual Effect

    Updates the values of Slow Mo Visual Effect.
    Make sure to call UpdateSettings afterwards to finalize the changes.

    See Details and Settings for detailed explanation of the parameters.

    FX_SlowMoVisualEffect

  • Slow Mo Visual Effect Override

    Updates the values of Slow Mo Visual Effect Override.
    Make sure to call UpdateSettings afterwards to finalize the changes.

    See Details and Settings for detailed explanation of the parameters.

    FX_SlowMoVisualEffectOverride

  • Slow Mo SFX

    Updates the values of Slow Mo SFX.
    Make sure to call UpdateSettings afterwards to finalize the changes.

    See Details and Settings for detailed explanation of the parameters.

    FX_SlowMoSFX

  • Slow Mo Sound Settings

    Updates the values of Slow Mo Sound Settings.
    Make sure to call UpdateSettings afterwards to finalize the changes.

    See Details and Settings for detailed explanation of the parameters.

    FX_SlowMoSoundSettings

  • Update Settings

    Finalize and applies the current Slow Mo settings.

    FX_UpdateSettings


Activation Functions

  • Start Slow Motion

    Trigger the start of the Slow Mo effect.

    FX_StartSlowMotion

  • Stop Slow Motion

    Trigger the end of the Slow Mo effect.

    FX_StopSlowMotion

  • Toggle Slow Motion

    Turn the Slow Mo status on/off, depending on the value of IsSlowMoActive

    FX_ToggleSlowMotion

  • Timed Slow Motion

    Trigger a time limited Slow Mo, effect will automatically stops after the given duration is passed.
    @Duration is in seconds.

    Use either OnTimedUpdate or GetTimedProgress to track the duration status.

    FX_TimedSlowMotion


Events

  • InputAxis_DefaultPitch

    Assign your default camera pitch input here, will be called when Slow Mo is inactive

    Event_InputAxis_DefaultPitch

  • InputAxis_DefaultYaw

    Assign your default camera yaw input here, will be called when Slow Mo is inactive

    Event_InputAxis_DefaultYaw

  • OnSlowMoStart

    This event will be called when the Slow Mo effect is started.

    Event_OnSlowMoStart

  • OnSlowMoEnd

    This event will be called when the Slow Mo effect has been turned off completely.

    Event_OnSlowMoEnd

  • OnTimedUpdated

    This event will be called when the time limited Slow Mo values are updated.

    Event_OnTimedUpdated

    @TimeCount is the amount of time that has passed since TimedSlowMotion is called, value in seconds.
    @Duration is the lifetime of the Slow Mo effect, how long it should last, value in seconds.
    @Progress is the percentage of TimeCount/Duration, value ranges from 0 to 1, 1 means the duration is complete.

    These values can also be accessed using the GetTimedProgress function.