Shouts don't fire OnHit Events on ObjectRefs?

Post » Thu Jul 11, 2013 5:59 pm

Hello People of the Creation Kit forums,

It's been a while since I've posted here, but I am truly in need of some aid at the moment.

I've been working a large quest mod, with a unique dungeon, and I already have a script for the Story (Which involves the below).

For a very long time I have been wanting to make a door that opens by the player using Unrelenting Force (Shout) on the door. The problem that I'm having is that no type of Object Refence (Besides and Actor) seems to register an OnHit Event for shouts. I don't understand why. I have a door (not REALLY A DOOR in CK terms) set up (have tried it as a Static, Movable Static, and Activator and always get the same result) that fires a script with a notification whenever a hit event is registered on the "door". I get a notification on hitting it with arrows, spells, axes, maces, swords...etc, but not Shouts. Currently I have tried Frost Breath, Fire Breath, and Unrelenting Force, None of which are triggering OnHit Events.

I learned that Actors seem to trigger OnHit events from shouts, but I don't understand why actors trigger these events from shouts, but activators don't.

Does anyone know how I can do this? I just want to make an activator that can detect a hit from a shout.

Thanks for any help you guys can give.

User avatar
Johanna Van Drunick
 
Posts: 3437
Joined: Tue Jun 20, 2006 11:40 am

Post » Thu Jul 11, 2013 3:33 pm

Its magic so i believe you need OnEffectStart().
User avatar
Erika Ellsworth
 
Posts: 3333
Joined: Sat Jan 06, 2007 5:52 am

Post » Thu Jul 11, 2013 2:40 pm

Apparently they don't work on damaging objects either. I set up the book "The Talos Mistake" to have destruction data (to burn such heretical books written by a Thalmor-paid shill) where it uses the ruined book mesh instead, and I discovered I cannot destroy them in the most appropriate manner. Destruction magic works, as does arrows and simply melee-ing it. But not shouts.

User avatar
Bones47
 
Posts: 3399
Joined: Fri Nov 09, 2007 11:15 pm

Post » Thu Jul 11, 2013 4:04 pm

just a wild idea, probably will not work...

Can you replace the standard shout projectile you are probably using with say... an arrow projectile that is invisible (actually I think all projectiles are not visible unless you give them a visible mesh)?

It could be the Projectile that holds the properties that make spells from your hand different from your voice. :shrug:

User avatar
Big Homie
 
Posts: 3479
Joined: Sun Sep 16, 2007 3:31 pm

Post » Fri Jul 12, 2013 2:34 am

Yep, I tested this. Log is silent too. OnHit doesn't receive shouts in any *known* way at least.

User avatar
Stace
 
Posts: 3455
Joined: Sun Jun 18, 2006 2:52 pm


Return to V - Skyrim