Garry's Mod Wiki

Garry's Mod Wiki

  number ENTITY:GetAttackSpread( Weapon wep, NPC target )

Description

Called to determine how good an NPC is at using a particular weapon.

"ai" base only

Arguments

1 Weapon wep
The weapon being used by the NPC.
2 NPC target
The target the NPC is attacking

Returns

1 number
The number of degrees of inaccuracy in the NPC's attack.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...