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.
[VXA] Script for using skills with items

0 Members and 1 Guest are viewing this topic.

*
Rep: +0/-0Level 36
RMRK Junior
I'm looking to have a script made that would basically have an item use a skill.

Our game "Demon Side" http://www.markalgam...portfolio=story is going to include a system in which you can use scrolls with
another component to craft equipable accessories. Some of these accessories give the actor who equips them certain skills.  Instead of just being able to use the scroll in crafting, however, I want the player to be able to use the scrolls themselves in order to use that skill as a one time thing (without actually learning it). For my purposes this would only need to work in battles.

While I could just try to make the item produce the same effect as the skill, this leads to some problems.  I'm using Yanfly's random skill invoke script http://yanflychannel...m-skill-invoke/ as well as his follow up skill script https://yanflychanne...llow-up-skills/.  These allow for some interesting combinations of skills, such as the skill leading into another one that has a different effect on the user than it did on the original target, but I wouldn't know how to obtain the same results only using item effects.

I also considered using a common event with the items so they would force the actor to use the skill, but when I tried that it didn't work very well and I don't know how to force the specific actor using the item to be the one to use the skill.

I've searched quite a bit, but thus far haven't been able to find a script to solve this problem.  It would be extremely helpful if someone were able to write a script that makes it so you can have a notetag on the item linking it to a specific skill so that when an actor uses that item he or she will immediately use that skill once without actually learning it.  Thank you so much for your time, and feel free to ask questions if any of that didn't make sense!

Edit: I don't have a script for this yet, but someone did help me find a solution, which can be found here: http://www.rpgmakervxace.net/topic/25908-script-for-using-skills-with-items/
This can be closed.
« Last Edit: July 23, 2014, 06:14:33 PM by Markal Games »