Arrow explosion enchantment will not work if it hits an acto

Post » Tue Nov 20, 2012 8:20 am

ok...aaaaahh...oh boy...

I made arrows with and enchantment to trigger a debug message. But after testing I was not getting my message, then accidently I fired the arrow NEXT to the actor instead of AT the actor and I got my message. So yes my chain WORKS but only if the actor is NOT in the middle of the explosion (not hit by the arrow). :eek:

PLEASE TELL ME THAT IS NOT HOW IT IS SUPPOSE TO WORK!!!

If that is the way it is intended to work then the exploding arrows in Dawnguard are useless to do any extra damage if you are only fighting one target.

Please tell me I am still doing something wrong here. Maybe I need a larger explosion radius, I am trying to limit the enchantment to only the actor hit but I am willing to make the explosion bigger and then use scripting to filter out bystanders if that is what is needed. I guess I will try that now...


Yes, I had to make the radius at least 100 units for this to work as "expected". :wallbash:
User avatar
Lauren Dale
 
Posts: 3491
Joined: Tue Jul 04, 2006 8:57 am

Post » Tue Nov 20, 2012 2:49 pm

Well, you can put two effects in your enchantment - one with area of effect and one without it. This way your enchanting will work as intended in both cases (arrow hits actor directly or actor is in the area of effect).
User avatar
roxxii lenaghan
 
Posts: 3388
Joined: Wed Jul 05, 2006 11:53 am

Post » Tue Nov 20, 2012 12:32 am

Unfortunately that is not how it works with explosions. An explosion IS an AOE (like a Cloak spell).
Making the magic effect as NO AOE will not change this.

I have another problem with this method in that if the arrow does not hit the actor it will still effect them now, I should have realized that before starting on this.
I only want the arrow to work on the actor hit.

This would be MOOT if the dam AKprojectile would work in the OnHit Block. Then I could just detect the arrow projectile and script the rest instead.
I may go back to that and see if I can get it to work somehow, there may be some esoteric way to use it.


Well, you can put two effects in your enchantment - one with area of effect and one without it. This way your enchanting will work as intended in both cases (arrow hits actor directly or actor is in the area of effect).
User avatar
Kit Marsden
 
Posts: 3467
Joined: Thu Jul 19, 2007 2:19 pm

Post » Tue Nov 20, 2012 10:50 am

Would someone PLEASE PLEASE try this in a Magic Effect:



Projectile Property aadpProjectile Auto

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

if akProjectile == aadpProjectile
debug.messagebox("worked")
else
debug.messagebox("not worked")
endif

endevent


I am getting the Not Worked message but never the Worked message.
I have tried this with a brand new game, no mods but this one I am working on, I have tried to AUTO SET the properties and also MANUALLY setting the same PROPERTY several times. aadpProjectile IS NOT AMMO it is in fact a "projectile".

I have tried this several times over the last year or so and never have been able to get it to work. I had hoped Bethesda would have fixed this by now.

BUT I also see some posts here that SEEM to indicate other moders HAVE this working. This one is truly driving me crazy and I am about to shoot my PC with a crossbow I happen to have in my reach....



Edit: Uhg! ..nevermind, as so many times before I am pushing this issue to the back burner for now because I found a different way to identify my custom arrow when it hits. Eventually I would like this AkProjectile thing to work, it would be useful for it to not be broken....
User avatar
Laura Elizabeth
 
Posts: 3454
Joined: Wed Oct 11, 2006 7:34 pm

Post » Tue Nov 20, 2012 12:54 pm

I know that explosion has area of effect, and I'm not telling you to remove area of effect from it.
The idea is to add a second effect to your enchantment without area of effect.
User avatar
Susan Elizabeth
 
Posts: 3420
Joined: Sat Oct 21, 2006 4:35 pm


Return to V - Skyrim