Good morning everybody,
Hope you are all well.
As the title already says this is a question about the Lunatic Mode Java script functions that are offered in Yanfly's Row Formation Plugin.
www.yanfly.moe
What I am looking to achieve is: to check if all alive members of a row are affected by a certain state and if so remove a different state in the row behind.
Looking through the plugin help file I would imagine that this is the function that I would need
$gameParty.rowAliveMembers(x)
$gameTroop.rowAliveMembers(x)
This will return each alive member of the group in row x.
Sadly my JavaScript knowledge is limited so I could never figure out how to implement these functions...
Please excuse my noobish scribbling but something like this:
If (all alive members of row 1) are state affected ("disabled"){
remove state("protected") of (all members in row 2)
}
else
{
add state (protected) to (all members in row 2)
}
I guess this is probably more complex than I imagine so thank you in advance to everybody who is taking their time! Any tips will be very appreciated.
Have a lovely day!
Cheers
Hope you are all well.
As the title already says this is a question about the Lunatic Mode Java script functions that are offered in Yanfly's Row Formation Plugin.
Row Formation (YEP) - Yanfly.moe Wiki
What I am looking to achieve is: to check if all alive members of a row are affected by a certain state and if so remove a different state in the row behind.
Looking through the plugin help file I would imagine that this is the function that I would need
$gameParty.rowAliveMembers(x)
$gameTroop.rowAliveMembers(x)
This will return each alive member of the group in row x.
Sadly my JavaScript knowledge is limited so I could never figure out how to implement these functions...
Please excuse my noobish scribbling but something like this:
If (all alive members of row 1) are state affected ("disabled"){
remove state("protected") of (all members in row 2)
}
else
{
add state (protected) to (all members in row 2)
}
I guess this is probably more complex than I imagine so thank you in advance to everybody who is taking their time! Any tips will be very appreciated.
Have a lovely day!
Cheers