This site has been archived and made available for preservation purposes. No edits can be made.

OnActorFireWeapon

This is an old revision of this page, as edited 09-06-2012, 05:12 PM by foxtacles (contribs). It may differ significantly from the current revision.
Gets called when an Actor fires a weapon.

Note that for automatic weapons, it is called only once per burst.

[top]Declaration

Code cpp:
VAULTSCRIPT VAULTSPACE Void OnActorFireWeapon(VAULTSPACE ID, VAULTSPACE Base) _CPP(noexcept);
Code c:
forward OnActorFireWeapon(ID, weapon);

[top]Parameters

ID - the ID of the Actor
Base - the base ID of the weapon

[top]Return value

None.