Difference between revisions of "OnPlayerBowShot - Actor"
Jump to navigation
Jump to search
Edited the example to avoid a potential spoiler.
imported>JLundin (Created page with "Category:Scripting Category:Papyrus Category:Events '''Member of:''' Actor Script ''(Requires 1.6)'' Event called when the actor is the player, and the player...") |
imported>Chesko (Edited the example to avoid a potential spoiler.) |
||
Line 20: | Line 20: | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Event OnPlayerBowShot(Weapon akWeapon, Ammo akAmmo, float afPower, bool abSunGazing) | Event OnPlayerBowShot(Weapon akWeapon, Ammo akAmmo, float afPower, bool abSunGazing) | ||
if (Weapon == | if (Weapon == myLongBow && afPower < 1.0 ) | ||
Debug.Trace("The player fired a dud shot!") | Debug.Trace("The player fired a dud shot!") | ||
endIf | endIf |