SetProjectileTracerChanceOverride

From GECK
Jump to: navigation, search


A function added by the ShowOff NVSE Plugin version 1.80.

Description

Sets or removes an override determining when to draw projectile tracers.

Possible values for chanceOverride: If -1, remove override (returns to default chance-based behavior. If 0, never draw tracers. If 1, always draw tracers if the base Projectile has a tracer chance > 0 to start with.

Calling this function with no args or with a value of -2 or lower will produce no changes.

Returns the status of the tracer chance override BEFORE the function was called.

This function can only be used in a script, not as a Condition.

Syntax

[help]
(chanceOverride:int) SetProjectileTracerChanceOverride chanceOverride:int{-2}