ENTITY:GetAttackSpread

From Garry's Mod
Jump to: navigation, search
 ENTITY:GetAttackSpread( )

Contents

Description

Validation required.
This page contains eventual incorrect information and requires validation.
Called to determine how good an NPC is at using a particular weapon.

Arguments

Entity wep

The weapon being used by the NPC.

Arguments

Entity target

The target the NPC is attacking

Returns

number

The number of degrees of inaccuracy in the NPC's attack.
Personal tools
Navigation