Chaos Project

RPG Maker => RPG Maker Scripts => RMXP Script Database => Topic started by: nathmatt on November 03, 2010, 07:21:26 PM

Title: [XP] Individual Enemy Kill Counter for Blizz ABS
Post by: nathmatt on November 03, 2010, 07:21:26 PM
Individual Enemy Kill Counter for Blizz ABS
Authors: Nathmatt
Version: 2.0
Type: Enemy Counter
Key Term: Blizz-ABS Plugin

Introduction

keeps individual counters for each enemy

Features


Screenshots

no screen shot

Demo

No Demo

Script

(click to show/hide)

RMX-OS Plugin

(click to show/hide)

Instructions

in the script


Compatibility

no compatibility issues known

Credits and Thanks


Author's Notes

if you have any issues or suggestions post here

Title: Re: Individual Enemy Kill Counter for Blizz ABS
Post by: keyonne on November 07, 2010, 12:24:32 AM
Quick question, as I'm still learning basic scripting. What code should I use to activate a switch when a certain monster ID reaches a desired number?
$game_player.enemy[id] should be used somewhere I'm assuming. I apologize for my noobishness, but I'm more of a designer and artist than scripter. :/
Title: Re: Individual Enemy Kill Counter for Blizz ABS
Post by: Wizered67 on November 07, 2010, 12:45:26 AM
Do a conditional branch

if $game_player.enemy[id] == X
Turn on switch.
Title: Re: Individual Enemy Kill Counter for Blizz ABS
Post by: nathmatt on November 07, 2010, 05:57:00 PM
first you want to turn the enemies counter on using this
Code: [Select]
$game_player.enemy_trigger[id] = true then in a condition branch you could turn on a switch or just use a condition script as
Code: [Select]
$game_player.enemy[id] >= x x being the amount needed to kill after so you will want to use
Code: [Select]
$game_player.enemy_reset(id) to reset it back to 0 and
Code: [Select]
$game_player.enemy_trigger[id] = false to turn it off so that it will be ready for the next quest that needs you to kill it
Title: Re: Individual Enemy Kill Counter for Blizz ABS
Post by: Wizered67 on November 07, 2010, 05:58:57 PM
Would this script work with RMX-OS btw?
Title: Re: Individual Enemy Kill Counter for Blizz ABS
Post by: nathmatt on November 09, 2010, 02:30:25 AM
i don't see y it wouldn't but it would need the save data configured

edit: just use the newly added plug-in place it below this script 
Title: Re: Individual Enemy Kill Counter for Blizz ABS
Post by: Dweller on December 01, 2010, 09:54:38 AM
I was looking to a script like this one. Using now and working fine. Thanks nathmatt (lvl up)
Title: Re: Individual Enemy Kill Counter for Blizz ABS
Post by: Ryex on December 02, 2010, 01:14:34 AM
why the hell was this never moved? *moved to database after adding the [XP] tag to the title*
Title: Re: [XP] Individual Enemy Kill Counter for Blizz ABS
Post by: nathmatt on December 02, 2010, 10:38:46 AM
The xp tag was probably the reason it didn't get moved
Title: Re: [XP] Individual Enemy Kill Counter for Blizz ABS
Post by: Blizzard on December 02, 2010, 11:17:22 AM
nathmatt got it right. ;)
Title: Re: [XP] Individual Enemy Kill Counter for Blizz ABS
Post by: Ryex on December 02, 2010, 11:34:21 AM
pssh, it's not like it take more than ten seconds to add the tag, lazy other mods.
Title: Re: [XP] Individual Enemy Kill Counter for Blizz ABS
Post by: Blizzard on December 02, 2010, 11:52:35 AM
Nathmatt's been doing that a couple of times so I just decided not to fix his post this one time as a lesson. :P
Title: Re: [XP] Individual Enemy Kill Counter for Blizz ABS
Post by: nathmatt on December 02, 2010, 09:08:07 PM
i have to admit i didn't even notice it wasn't in the database until you mentioned it
Title: Re: [XP] Individual Enemy Kill Counter for Blizz ABS
Post by: WhiteRose on December 03, 2010, 12:05:43 AM
pssh, it's not like it take more than ten seconds to add the tag, lazy other mods.

I plead innocent; I'm not a mod over this section.
Title: Re: [XP] Individual Enemy Kill Counter for Blizz ABS
Post by: Blizzard on December 03, 2010, 09:46:36 AM
I plead innocent as well, because I can. :=
Title: Re: [XP] Individual Enemy Kill Counter for Blizz ABS
Post by: Dweller on January 22, 2011, 12:31:41 PM
I´m having a problem using this script on my game. After killing an enemy if I use a Custom Event Triggers the $game_player.enemy[id] variable count +14 enemies killed instead +1. (I tested too on a new Blizz-ABS game with only Individual Enemy Kill Counter for Blizz ABS script and got the same error)
Title: Re: [XP] Individual Enemy Kill Counter for Blizz ABS
Post by: nathmatt on January 22, 2011, 03:14:59 PM
send me a quick demo so i can see it
Title: Re: [XP] Individual Enemy Kill Counter for Blizz ABS
Post by: Dweller on January 22, 2011, 06:23:28 PM
Demo explaining the problem:
http://www.sendspace.com/file/95nlto
Title: Re: [XP] Individual Enemy Kill Counter for Blizz ABS
Post by: nathmatt on January 22, 2011, 10:54:16 PM
update 1.10 fixed above error
Title: Re: [XP] Individual Enemy Kill Counter for Blizz ABS
Post by: Dweller on January 23, 2011, 09:54:30 AM
updated my game to 1.10 and no errors, ty.
Title: Re: [XP] Individual Enemy Kill Counter for Blizz ABS
Post by: nathmatt on June 21, 2011, 02:38:37 AM
update 2.0 reworked this script you can now create as many counters as you want even for that same enemy