RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Death toll

0 Members and 1 Guest are viewing this topic.

*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Rep:
Level 96
&&&&&&&&&&&&&&&&&&&&&&&&&&&
GIAW 14: 2nd Place (Hard Mode)2013 Biggest Drama Whore2013 Zero to HeroParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
MADE BY BLIZZARD
Code: [Select]
ID = 26

class Scene_Battle

  alias main_dt_later main
  def main
    @td_flag = 0
    main_dt_later
  end
 
  alias upd_dt_later update
  def update
    @td_flag = $game_troop.enemies.size if @td_flag == 0
    upd_dt_later
  end
 
  alias battle_end_td_later battle_end
  def battle_end(result)
    battle_end_td_later(result)
    count = 0
    for enemy in $game_troop.enemies
      count += 1 unless enemy.exist? or enemy.hidden
    end
    $game_variables[ID] += @td_flag - count
  end

end

Quote
Set ID to the variable ID you want to use to store the number of killed enemies. Tell me if it works. I'm in a college lesson right now and made that out of my head, but it should work. To show the number just use in a message \v[X] where X is the same number as you set ID.

Can this go in database? PLEEASE! ;D
« Last Edit: November 14, 2006, 08:04:24 PM by Blizzard »
&&&&&&&&&&&&&&&&

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
we need permission for something to be in database?
Watch out for: HaloOfTheSun

*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Rep:
Level 96
&&&&&&&&&&&&&&&&&&&&&&&&&&&
GIAW 14: 2nd Place (Hard Mode)2013 Biggest Drama Whore2013 Zero to HeroParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
I don't know how I did it before but the NEW TOPIC button is gone...
&&&&&&&&&&&&&&&&

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
crap It is!i guess they will move it there if they think it should be.
Watch out for: HaloOfTheSun

*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Rep:
Level 96
&&&&&&&&&&&&&&&&&&&&&&&&&&&
GIAW 14: 2nd Place (Hard Mode)2013 Biggest Drama Whore2013 Zero to HeroParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
Hey blizzard... pleease put it in...
&&&&&&&&&&&&&&&&

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Lol, I'm not gonna put these few lines of code into the database. It's embarrasing! :=

AND FINALLY SILVERLINE REMOVED THE NEW TOPIC BUTTON FROM THE DATABASES!
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Rep:
Level 96
&&&&&&&&&&&&&&&&&&&&&&&&&&&
GIAW 14: 2nd Place (Hard Mode)2013 Biggest Drama Whore2013 Zero to HeroParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
That's script Discrimination!
you should love all your children blizzard!



 :'(   <-- this is your script
&&&&&&&&&&&&&&&&

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
No, you got it wrong. It's not a script, it's an add-on. I love all my scripts and add-ons, but because it's not a script, but an add-on it can't be in the Scripts Database. Same reason why my Window_BattleResult add-on isn't there.
I consider codes with less than 100 lines of code and a complexity of very low to low as add-ons.
« Last Edit: November 14, 2006, 01:37:58 PM by Blizzard »
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Rep:
Level 96
&&&&&&&&&&&&&&&&&&&&&&&&&&&
GIAW 14: 2nd Place (Hard Mode)2013 Biggest Drama Whore2013 Zero to HeroParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
 :'(  still

then we need a addon archive!   ;D
&&&&&&&&&&&&&&&&

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
We really should get a script list in the script database, so even the smallest of scripts can be in there.
Watch out for: HaloOfTheSun

*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Rep:
Level 96
&&&&&&&&&&&&&&&&&&&&&&&&&&&
GIAW 14: 2nd Place (Hard Mode)2013 Biggest Drama Whore2013 Zero to HeroParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
there is  :-\ I made it remeber...
&&&&&&&&&&&&&&&&

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
well, no not like the one you made like this:

Have a fourm script listing, with all scripts made in this fourm:

Frourm script listing:

Add-ons:
1. Death Toll

CBS:
1

CMS:
1
2
3

something like that
Watch out for: HaloOfTheSun

**
Rep: +0/-0Level 88
This is a great script idea!

Now, how would I go about setting it so that it will work for each individual character? And also to have it show in their status screen?

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
I will release the add-on collection "Tons of Add-ons" tomorrow and put it right into the database. Doing that for each character is a completely different system. It would need scripting from zero as this code only checks how many enemies have died at the end of the fight. BTW, there was a little bug, I fixed it. You may already have noticed WHEN I made that script... -.-

EDIT: Lockage, this add-on can now be found here:

Tons of Add-ons
« Last Edit: November 15, 2006, 09:23:29 AM by Blizzard »
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!