- Joined
- Nov 3, 2018
- Messages
- 12
- Reaction score
- 2
- First Language
- Português
- Primarily Uses
- RMMV
Hello guys! Newbie here LOL
I use the RPG Maker MV and I need a help with a skill mechanics that I'm trying to create for my game. It's like "follow-up skills," but scripts like this have not yet got what I need ...
Now that I understand a bit of programming logic (very basic), I think I can make it clear what I need the script to do. But I can not find the right commands on the internet to do this.
How do these skills work?
- First a user (who can be an ally or an enemy!) Performs an action that causes a state in the target (again, it can be an ally or an enemy). I will call this state of “vulnerability” to aid in the explanation.
- As you take action, a check will take place to see which characters on the user's team can instantly take an action on the target with that state. I will call this second action of "Pursuit".
For example, if an Actor used the first ability and caused this state (Vulnerability) to an Enemy, then the check is to see if any other Actor has the "Pursuit" ability to perform the next action instantly.
OR, if the ability was used by an Enemy and caused Vulnerability in an Actor, then the check is to see if any other Enemy has the "Pursuit" ability to perform the next action instantly.
- If there is someone on the team who has this ability, he is forced to use it immediately on the target with "Vulnerability".
For example, following the examples above: if an actor used a skill that caused "Vulnerability" on an enemy and there is some other actor (including the user!) Who has the "Pursuit" ability, this action is taken immediately.
But if an enemy uses the ability that causes "Vulnerability" in an Actor, and if there is any other enemy (including the user!) That has the "Pursuit" ability, this action is taken immediately.
---------------------------------------------------------------------------------------------------------------------------------------------
This is the basic structure of this "system" (script) that I am trying to create. I have already been able to create something similar with common events, but by this method I can only check if specific actors have the "Pursuit" ability (and since my game has MANY characters, it is not possible to create an individual check for each actor - besides not being able to put this ability to be executed by Enemies).
If I can figure out the commands to create a script that does what is above, I'll be super happy already !!! LOL
But if it’s possible, I would like to get some other questions and make the script meet these possibilities too:
1- A skill that deals damage in a group has a chance of causing "Vulnerability" on targets.
> How to make a character (enemy or actor) only perform a "Pursuit" on only one target if more than one enemy character (actor or enemy) acquires the "Vulnerability" state (so that the same character does not perform the same action on different targets)? (However, if there are other characters with the "Pursuit" ability, each of them can use their ability on one of the remaining targets)
2- With the end of both actions (ability that causes "Vulnerability" and "Pursuit" ability) the status "Vulnerability is removed.
> I know that if "Pursuit" ability is used, just add "Remove Vulnerability" to the effects of the ability, but what if the ability is not used? How do I get the target (s) out of state?
3- Change of sprite / position.
> I would like some states of vulnerability to cause a physical alteration in the character. For example: when hit by "Vulnerability" the character would fall to the ground (it would call this state "fall" and use the sprites of the "dead" character) or perform a jump on the screen (called this "Flight" state). How to do this?
> If in the above example the character is hit by "Flight", I would like the "Pursuit" ability to be used when he is in the air. Can I do that?
4- Combo even bigger.
> I would like to create some "Pursuit" abilities that would not only pursue the target, but would also put it into a new "Vulnerability" state, triggering another "Pursuit" ability.
For example:
>> Character 1 uses a skill that causes "Flight."
>> Character 2 is forced to use a skill that pursues "Flight" and causes "Fall" (in that case, Flight is removed and Fall is added to target).
>> Character 3 is forced to use a skill that pursues "Fall" (removing "Fall")
It would be great to be able to create a script with all these functions, even to make it available to others who want to use this system, but I really can not find the necessary commands.
Another way that may have been my needs is by Yanfly's "Action Sequences", but in that case I also need some commands that I do not know.
NOTE: I have all the Yanfly plugins installed.
Link to Yanfly plugins: http://yanfly.moe/yep/
Link to the Action Sequences plugins:
http://yanfly.moe/2015/10/11/yep-4-action-sequence-pack-1/
http://yanfly.moe/2015/10/12/yep-5-action-sequence-pack-2/
http://yanfly.moe/2015/10/12/yep-6-action-sequence-pack-3/
Thanks, guys! And sorry my bad english...
I use the RPG Maker MV and I need a help with a skill mechanics that I'm trying to create for my game. It's like "follow-up skills," but scripts like this have not yet got what I need ...
Now that I understand a bit of programming logic (very basic), I think I can make it clear what I need the script to do. But I can not find the right commands on the internet to do this.
How do these skills work?
- First a user (who can be an ally or an enemy!) Performs an action that causes a state in the target (again, it can be an ally or an enemy). I will call this state of “vulnerability” to aid in the explanation.
- As you take action, a check will take place to see which characters on the user's team can instantly take an action on the target with that state. I will call this second action of "Pursuit".
For example, if an Actor used the first ability and caused this state (Vulnerability) to an Enemy, then the check is to see if any other Actor has the "Pursuit" ability to perform the next action instantly.
OR, if the ability was used by an Enemy and caused Vulnerability in an Actor, then the check is to see if any other Enemy has the "Pursuit" ability to perform the next action instantly.
- If there is someone on the team who has this ability, he is forced to use it immediately on the target with "Vulnerability".
For example, following the examples above: if an actor used a skill that caused "Vulnerability" on an enemy and there is some other actor (including the user!) Who has the "Pursuit" ability, this action is taken immediately.
But if an enemy uses the ability that causes "Vulnerability" in an Actor, and if there is any other enemy (including the user!) That has the "Pursuit" ability, this action is taken immediately.
---------------------------------------------------------------------------------------------------------------------------------------------
This is the basic structure of this "system" (script) that I am trying to create. I have already been able to create something similar with common events, but by this method I can only check if specific actors have the "Pursuit" ability (and since my game has MANY characters, it is not possible to create an individual check for each actor - besides not being able to put this ability to be executed by Enemies).
If I can figure out the commands to create a script that does what is above, I'll be super happy already !!! LOL
But if it’s possible, I would like to get some other questions and make the script meet these possibilities too:
1- A skill that deals damage in a group has a chance of causing "Vulnerability" on targets.
> How to make a character (enemy or actor) only perform a "Pursuit" on only one target if more than one enemy character (actor or enemy) acquires the "Vulnerability" state (so that the same character does not perform the same action on different targets)? (However, if there are other characters with the "Pursuit" ability, each of them can use their ability on one of the remaining targets)
2- With the end of both actions (ability that causes "Vulnerability" and "Pursuit" ability) the status "Vulnerability is removed.
> I know that if "Pursuit" ability is used, just add "Remove Vulnerability" to the effects of the ability, but what if the ability is not used? How do I get the target (s) out of state?
3- Change of sprite / position.
> I would like some states of vulnerability to cause a physical alteration in the character. For example: when hit by "Vulnerability" the character would fall to the ground (it would call this state "fall" and use the sprites of the "dead" character) or perform a jump on the screen (called this "Flight" state). How to do this?
> If in the above example the character is hit by "Flight", I would like the "Pursuit" ability to be used when he is in the air. Can I do that?
4- Combo even bigger.
> I would like to create some "Pursuit" abilities that would not only pursue the target, but would also put it into a new "Vulnerability" state, triggering another "Pursuit" ability.
For example:
>> Character 1 uses a skill that causes "Flight."
>> Character 2 is forced to use a skill that pursues "Flight" and causes "Fall" (in that case, Flight is removed and Fall is added to target).
>> Character 3 is forced to use a skill that pursues "Fall" (removing "Fall")
It would be great to be able to create a script with all these functions, even to make it available to others who want to use this system, but I really can not find the necessary commands.
Another way that may have been my needs is by Yanfly's "Action Sequences", but in that case I also need some commands that I do not know.
NOTE: I have all the Yanfly plugins installed.
Link to Yanfly plugins: http://yanfly.moe/yep/
Link to the Action Sequences plugins:
http://yanfly.moe/2015/10/11/yep-4-action-sequence-pack-1/
http://yanfly.moe/2015/10/12/yep-5-action-sequence-pack-2/
http://yanfly.moe/2015/10/12/yep-6-action-sequence-pack-3/
Thanks, guys! And sorry my bad english...

