Background for Fallout 4
Member of the Actor script
eventOnPlayerFireWeapon(FormakBaseObject)

Description

Wiki Description

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

Documentation Comment

Received when player fires a weapon out of combat and based on timer


Parameters

  1. FormakBaseObject

    CK Wiki Description

    the base object weapon fired


Examples

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

Auto-Generated Example

Scriptname MyCoolScript extends Actor

event OnPlayerFireWeapon(Form akBaseObject)
    Debug.trace("Event received - OnPlayerFireWeapon: akBaseObject = " + akBaseObject)
endEvent

Related Pages


Additional References

View this event’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.