SetForceDrawHitscanProjectiles

From GECK
Jump to: navigation, search


A function added by the ShowOff NVSE Plugin version 1.80.

Description

If forceDraw is set to 1, forces hitscan projectiles to be rendered, similar to how they are in VATS.

If forceDraw is set to 0, will go back to default vanilla behavior.

If the forceDraw arg is omitted or set to -1, will do nothing. This is useful for just checking if hitscan projectiles are forced to be drawn.

Returns if hitscan projectiles were being forced to be drawn.

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

Syntax

[help]
(wasForcingProjectilesToDraw:1/0) SetForceDrawHitscanProjectiles forceDraw:int{-1}