Difference between revisions of "OnPlayerBowShot - Actor"

Jump to navigation Jump to search
5 bytes removed ,  12:33, 19 June 2012
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  == DLC1AurielsBow && afPower < 1.0 )
   if (Weapon  == myLongBow && afPower < 1.0 )
     Debug.Trace("The player fired a dud shot!")
     Debug.Trace("The player fired a dud shot!")
   endIf
   endIf
Anonymous user

Navigation menu