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.
Character based item use (done with events) ?

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 86
I have been trying to make a way so that an Item used in battle will only work for certain characters. For example, I call my dog into battle, and to heal it, I would like to use a "Dog Treat" that will restore it's health.  Now... how do I make it so that when I give it to the dog, it heals it, and if I try to use it on a person, they say "ick... I'm not eating that..." .  I would also like it so that giving it to a person and getting that message won't use up the Dog treat.  Any idea's?

As a side note, if I had another item, that could be used to give to all creature party members, but not to a person, (same deal as before) how could I do that as well?  Thanks :)

"Keep smiling, it makes people wonder what you're up to."

OK, so what's the speed of dark?
What happens if you get scared half to death twice?

Since there's a duck-billed platapus, is there just a plain platapus? If so... what does that look like?

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
You would probably need a small scriptlet to save who the target is. SO, yeah - make a request.

Then you can make it so the item calls a common event and it is non-consumable. Then, in the common event, you can check who the target is through script (not possible with events), and condition on tha - if dog give the appropriae SE and hal and lose Item: DOg Treat - if a human, play message, bad SE, and do not lose the item - you would still lose the turn though.