LibAction

From NPC for VCMP 0.4 Servers
Revision as of 04:06, 20 February 2023 by Habi (talk | contribs) (Created page with "Callbacks OnTargetCleared(targetpid, reason) OnTargetOutOfRange(targetid) OnPullingTrigger([integer] keys, [Vector]pos, [float]angle, [integer]health, [integer]armour, [integer]weapon, [integer]ammo, [Vector]speed, [Vector]aimpos, [Vector]aimdir, [bool]isCrouching, [bool]isReloading ) -Called when target is out of range of the weaponrange of the current weapon of npc. If nothing is specified, npc resumes shooting when target comes in range again. Functions ShootTarget(p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Callbacks OnTargetCleared(targetpid, reason) OnTargetOutOfRange(targetid) OnPullingTrigger([integer] keys, [Vector]pos, [float]angle, [integer]health, [integer]armour, [integer]weapon, [integer]ammo, [Vector]speed, [Vector]aimpos, [Vector]aimdir, [bool]isCrouching, [bool]isReloading ) -Called when target is out of range of the weaponrange of the current weapon of npc. If nothing is specified, npc resumes shooting when target comes in range again. Functions ShootTarget(playerid) ClearTarget() GetTarget()