MoltresRider

Moltres Rider/Dragon Whisperer
Regular
Joined
Apr 16, 2023
Messages
373
Reaction score
44
First Language
English
Primarily Uses
RMVXA
I have a number of skills that require Actor A to only use the skill on Actor B and never use the skill on Actor C, D, E, etc.

Some of these skill are love buffs from the wife on another actor so I do not want the player targeting someone who is not her husband.


Right now, I am handling this situation with skills that that target the one using the skill that just call a common event that specifies the actor that receives heal or buff. This gets to be a pain after a while and it creates issue if the destination actor dies before the skill goes off. Plus I have to do buffs as states this way and not "add buff" command.

There has to be a better way to do this. Is here a script for that?
 

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,321
Reaction score
11,492
First Language
German
Primarily Uses
RMMV
If the relationships are fixed and don't change, you can use different states and resists for them.

That would mean that the player can select other targets, but the effect would always be resisted and never take hold on the wrong actors.
And if you have multiple marriages simply use multiple states with the same name or so.

That said, there are different versions of target managers or tag managers that can do what you want.
You should check Tsukihime's Tag manager first as that might be the easiest option, better than a general target manager (www.himeworks.com)
 

Mattsuharu

Regular
Regular
Joined
Apr 15, 2022
Messages
174
Reaction score
47
First Language
English
Primarily Uses
RMVXA
You can achiev this with Yanfly's Lunatic Target
 

MoltresRider

Moltres Rider/Dragon Whisperer
Regular
Joined
Apr 16, 2023
Messages
373
Reaction score
44
First Language
English
Primarily Uses
RMVXA
You can achiev this with Yanfly's Lunatic Target
There is no instructions with that script. It just says add "string" to noteboxes but does not specify what "string" is. I expected a actor ID or something, not just "string"


Not enough information was given by Yanfly on this. Almost no information on how to use this script was provided.
 

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,321
Reaction score
11,492
First Language
German
Primarily Uses
RMMV
string is short for code-string, in case of VXA any Ruby-/RGSS3-code
you'll have to learn scripting to be able to fully utilize any of yanfly's "Lunatic" scripts, but once you do there is no need for additional instructions, which is why there are none.
 

kyonides

Reforged is laughable
Regular
Joined
Nov 17, 2019
Messages
1,773
Reaction score
893
First Language
English
Primarily Uses
RMXP
By default the DBS only keeps track of the spellcaster and the skill or item he or she is using. (Both items and skills are treated almost as the same thing during battles.)

It would require a serious rewrite of many default methods to make it work the way you want it to because it never passes the target as an argument.
 

Mattsuharu

Regular
Regular
Joined
Apr 15, 2022
Messages
174
Reaction score
47
First Language
English
Primarily Uses
RMVXA
There is no instructions with that script. It just says add "string" to noteboxes but does not specify what "string" is. I expected a actor ID or something, not just "string"


Not enough information was given by Yanfly on this. Almost no information on how to use this script was provided.
It was hard for me too at the beginning. But I found a lot of information in the comments and other posts that helped me. You could use a target based on characters that only have a specific state, and you can add that state only to the couple. There's another scripts that allow you to hide some states if you don't want it to show. I think in the String you should add something like: b.state(x) where X is the state you are adding to the couple.
 

Latest Threads

Latest Posts

Latest Profile Posts

I HATE SEOs! I do not want to add Reddit to every single search in order to find helpful content posted by actual humans.
bandicam 2023-10-02 09-53-18-106.png
Yanka is one of my dearly loved characters. And not only because she can perform the look of "puss in boots")))) Spy, infiltrator, kind-hearted with a soft spot for one Crimson Knight.
Just completed another cutscene. Huge one for the story. I'm so enthusiastic about where this game is going.
Man, the enemies in the new Sonic Frontiers update are totally roided up. I wanted a little more difficulty myself, but Sonic Team turned the dial a bit too far.

At least the new tracks for roaming Ouranos Island as Amy, Knuckles, and Tails slap hard.
mz_quest_victory_scene.gif


This battle victory screen has been pretty fun to work on. Not only can party members set new personal records for their contributions to the fight, but when they do, the party remarks on the accomplishment!

Forum statistics

Threads
134,985
Messages
1,252,614
Members
177,875
Latest member
kcs897
Top