Cristobot Posted December 19, 2020 Share Posted December 19, 2020 I want the spell to show some information about any NPC that it hits. I've created a Magic Effect that is Fire and ForgetI've created a spell with that Magic EffectWhen I fire the spell, I see that it hits the NPC due to the hit effect art Where I NEED HELP PLEASE:For the Magic Effect, I've tried scripting an onHIt() Event to show a MessageBox("Hello World") when the spell hits something...but nothing ever happens! (My script compiles, btw) 1) Can someone tell me if I am doing something wrong?2) Is there an easier way to do this? Here is my script: Scriptname crbtGetNPCData extends ObjectReference Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked) debug.messagebox("Hello World") EndEvent Link to comment Share on other sites More sharing options...
Striker879 Posted December 19, 2020 Share Posted December 19, 2020 Here is a list of all of the possible games you could be trying to mod. First step to getting help would be to point us towards the right one. Link to comment Share on other sites More sharing options...
Cristobot Posted December 19, 2020 Author Share Posted December 19, 2020 Wow. I thought I was in Skyrim SE! Sorry! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now