Background for Skyrim SE
Member of the ActiveMagicEffect script
eventOnPlayerBowShot(WeaponakWeapon, AmmoakAmmo, floatafPower, boolabSunGazing)

Description

Documentation Comment

Received when the player fires a bow. akWeapon will be a bow, akAmmo is the ammo or None,
afPower will be 1.0 for a full-power shot, less for a dud, and abSunGazing will be true if the player is looking at the sun.


Parameters

  1. WeaponakWeapon

  2. AmmoakAmmo

  3. floatafPower

  4. boolabSunGazing


Examples

Auto-Generated Example

Scriptname MyCoolScript extends ActiveMagicEffect

event OnPlayerBowShot(Weapon akWeapon, Ammo akAmmo, float afPower, bool abSunGazing)
    Debug.trace("Event received - OnPlayerBowShot: akWeapon = " + akWeapon + " akAmmo = " + akAmmo + " afPower = " + afPower + " abSunGazing = " + abSunGazing)
endEvent
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.