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
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