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.
just wondering.....

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 87
...if anyone knows of one or can make this script i am going to need?


Its for my equiping system. Every equipment has a certian EP (equipment points) required to equip that certain weapon/armor/acc. Every level a character gets, he/she also gains some more max EP.

example...

say your character at Level 1 has 3/3 EP.

The weapon he/she equips takes up 1 EP.

So he/she now has 2/3 EP.

I need the current and max EP to show in the status, and in the equipping menu.

for whoever can help me wins 1000 internets


My Game: (keeping title secret :P)

Story: 0%
Characters: 12.5%
Maps: 0%
Events: 0%
Scripts: 26%

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Best Member2012 Best RPG Maker User (Scripting)2012 Favorite Staff Member2012 Most Mature MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best RPG Maker User (Scripting)2011 Best Use of Avatar and Signature Space2010 Most Mature Member2010 Favourite Staff Member
This probably isn't the most efficient way, but you could use a variable to store EP, and have one common event control the levelling of it, and have another which has a series of events which look like this:

Code: [Select]
Conditional Branch: Armour [Iron Armour] Equipped
   Conditional Branch: Variable [001: EP] < 3
       Play SE: Wrong
       Text: You do not have enough EP to equip this piece of armour. You need 3 and you only have \v[1] EP.
       Change Equipment: Armour [None]
   Branch END
Branch END

It's not very clean, as I am not sure but it will probably wait until you exit the menu before delivering the message and unequipping. It'd be easier if you can get a script, but that should work if all else fails.

**
Rep: +0/-0Level 87
yeah i thought of that way too, the only thing is it wouldnt really show you how many you have left without actually try equiping something.

But ill probobly use something like that until a script is found/made.

I really wanna get a graphical bar for it too. That part of it shouldnt be too hard tho.
My Game: (keeping title secret :P)

Story: 0%
Characters: 12.5%
Maps: 0%
Events: 0%
Scripts: 26%

********
Hungry
Rep:
Level 96
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for December 2009Project of the Month winner for August 20082011 Best Game Creator (Non RM)Gold - GIAW Halloween
this kind of thing makes me wish I knew how to script.

the events thing would work, and you could probably pop up a menu when they equip to show how much they have left, but eh...

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon