Ainz Ooal Gown Posted September 13, 2019 Share Posted September 13, 2019 Description: The ability to count a players kills by utilising the "On Death (for killer)" common event. This is a very basic solution and quick to implement.  Video/Screenshot: When I kill a Zombie NPC this added a value of 1 to my Zombie Kill Count.  Process:  Kill a NPC/Mob and a value of 1 gets added to players kill count. Type /count in chat to display current kill count (Can be implemented with my "Journal system" to show count in a book or something other than chat from a command).  Issues: None  Addon: Can be used with a Journal System  Build: 2x Common Events(small) 1x Player Variable  First we need to create a Player Variable. I called mine "Zombie Kill Count". Spoiler Make sure the variable type is "Integer" and set a "Text ID":  Next we create a common event "Zombie Kill Count" that will be triggered when a NPC gets killed by the player. Spoiler Very simple event with no conditions or triggers, it only adds 1 to variable "Zombie Kill Count":  Now we can add the other common event, "Zombie Kill Check". Spoiler This common event is a command trigger which puts some text in the chat window to tell the player how many zombie kills they have (Instead you can have this variable display in a journal or somewhere else as a read out).   Command /count in chat window will run this event. The full text is:  You have killed \pv{zombiekillcount} Zombies!  \pv{zombiekillcount} is used to draw out the player variable we created. Add this anywhere in your game to display this variable.   Results. When I kill a NPC that I have the the "On Death (for killer)" set to "Zombie Kill Count" common event, then type /count into the chat window is displays the text we did in last step. Spoiler  Complete!  This is a very simple solution for counting a players NPC kills, this can be expanding to use on different types of NPCs such as counting bosses killed, ect.  Enjoy italo, AisenArvalis, Slayer and 5 others 8 Link to comment Share on other sites More sharing options...
AisenArvalis Posted September 14, 2019 Share Posted September 14, 2019 Very nice and simple system using the Eventing in Intersect, nicely done! Ainz Ooal Gown 1 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