OnPlayerFireWeapon - Actor

From Creation Kit
Jump to: navigation, search

Member of: Actor Script

Event sent to the player when he fires weapon out of combat. Only sent based on a timer since the last time it was sent

Syntax

Event OnPlayerFireWeapon(Form akBaseObject)

Parameters

  • akBaseObject: the base object weapon fired

Examples

; Event is sent to the player
Event OnPlayerFireWeapon(Form akBaseObject)
  Debug.Trace(akBaseObject+ " weapon fired by player.")
endEvent

See Also