How to detect shield bashing on an object?

Post » Wed Sep 28, 2016 6:00 pm

I thought the OnHit event triggered the abBashAttack bool to true but it doesn't seem to be the case. Am I missing something obvious?



Scriptname BashTest extends ObjectReference

Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked)

if ( abBashAttack as bool)

Debug.Notification("Bash hit")

endif

EndEvent
User avatar
Joanne Crump
 
Posts: 3457
Joined: Sat Jul 22, 2006 9:44 am

Post » Thu Sep 29, 2016 12:51 am

Are you SURE you put this on an ACTIVATOR and not just on any old object?

User avatar
Darlene Delk
 
Posts: 3413
Joined: Mon Aug 27, 2007 3:48 am

Post » Wed Sep 28, 2016 2:39 pm

Yes, it's an ACTI, a custom practice dummy I made. I can detect weapons hits with no issues but no shield bashing.
User avatar
Susan Elizabeth
 
Posts: 3420
Joined: Sat Oct 21, 2006 4:35 pm

Post » Wed Sep 28, 2016 1:05 pm

That is strange, because I have been doing this for a few years (in my combat mod you create feints by practicing hitting pells aka practice dummies) and a bash works fine for me. But I do not use a custom object , I only use the vanilla base object.



Many of the pells in the game are NOT activators (they are just statics) which drive me crazy. Why!!!??? Why Beth did you make some activators and some not activators?

User avatar
Sarah Kim
 
Posts: 3407
Joined: Tue Aug 29, 2006 2:24 pm


Return to V - Skyrim