WEAPON/GetNPCRestTimes

From Garry's Mod
Jump to: navigation, search
 WEAPON:GetNPCRestTimes( )

Description

Called when the weapon is used by NPCs to tell the NPC how to use this weapon. Controls amount of time the NPC can rest (not shoot) between bursts.

Returns

number

Minimum amount of time the NPC can rest (not shoot) between bursts in seconds. Default is 0.3 seconds.

Returns

number

Maximum amount of time the NPC can rest (not shoot) between bursts in seconds. Default is 0.66 seconds.
Personal tools
Navigation