Zorkaz Posted April 9, 2022 Share Posted April 9, 2022 I have a weapon that should instantly kill Brahmin. But I forgot what Event I need to use for a script to take effect when the Weapon hits another target.Any ideas? Link to comment Share on other sites More sharing options...
SKKmods Posted April 9, 2022 Share Posted April 9, 2022 If you know the target reference then RegisterForHitEvent & OnHit If you dont know the target reference then perk entry ApplyCombatHitSpell will get the hit AkTargetRef ... ... BUT if the player has multiple ApplyCombatHitSpell perks the game only seems to trigger one of them and you cant detect if the player already has one (just like multiple AddActivate on a target). I fiddled around with my own player cloak magiceffect and RegisterForHitEvent all actors it touches ... but it was just a bit too dirty for me. Link to comment Share on other sites More sharing options...
Zorkaz Posted April 9, 2022 Author Share Posted April 9, 2022 Thanks for the quick reply. Here was my quick solution1. Create a unique damage type (Like DTPoison, DtFire...) and give it a unique spell.2. Create a spell and magic effect - Fire and Forget on Contact3. The accompanying script has Event OnEffectStart - AkTarget.kill() And link it all together of course Link to comment Share on other sites More sharing options...
SKKmods Posted April 9, 2022 Share Posted April 9, 2022 Another workaund for the ApplyCombatHitSpell conflict was to create a legendary effect OMOD which would pass back the akTarget to do stuff on, but ofc that means game cant roll and players cant apply a normal legendary effect (because swapping legendary effects is a must have response to crap RNG). Link to comment Share on other sites More sharing options...
Zorkaz Posted April 9, 2022 Author Share Posted April 9, 2022 I wanted to avoid Omods and Enchantments because that thing can become clunky and unnecessary complicated but yeah it's possible too Link to comment Share on other sites More sharing options...
Recommended Posts