saker277 Posted April 21, 2012 Share Posted April 21, 2012 I am trying to make a mod that will "level up" weapons as you get kills. So far I have made a script that creates an array of weapons that can level up. I have been trying to find a way to increment a counter for every kill you get using one of the swords, but i can't seem to do it. I have been unable to find a way to detect when you get a kill with a specific weapon other than attaching a small script that uses the onDeath event to every killable actor in the game. I could do that, but i would rather not if there is another way. Does anyone know if there is a function or event that i can use to know when the player kills someone with a specific weapon? Link to comment Share on other sites More sharing options...
Sparafucile Posted April 22, 2012 Share Posted April 22, 2012 You should really examine how the Ebony Blade artifact is implemented because it has pretty much that same effect. It is the combination of the SM Event Node (SMQN) 'Kill Actor Event' and a few quests that perform the magic without resorting to attaching a script to each Actor. Link to comment Share on other sites More sharing options...
saker277 Posted April 24, 2012 Author Share Posted April 24, 2012 You should really examine how the Ebony Blade artifact is implemented because it has pretty much that same effect. It is the combination of the SM Event Node (SMQN) 'Kill Actor Event' and a few quests that perform the magic without resorting to attaching a script to each Actor.Thank you, I found what i needed in the ebony blade Link to comment Share on other sites More sharing options...
Recommended Posts