TAMAJOSHI'S PROFILE
Search
Filter
[SCRIPTING] [RMMV] Trouble using 'Show Picture' based on battler
Thank you so much for spelling this out for me, I know it must seem rather basic for someone who understands this better. This is working exactly as intended, I really appreciate your time <3
[SCRIPTING] [RMMV] Trouble using 'Show Picture' based on battler
Thank you! With some tinkering on when to call the common event I finally got it working with your help. Each time the event is called, I want the 3 corresponding variables to store their separate values at the same time (skill's user, skill id, and target enemy(s) id)
I know this is probably basic stuff, but I couldn't find how to check a skill id in a similar fashion. right now I have something like this in the skill Notes:
<Before Eval>
if (user.isActor()) {
$gameVariables.setValue(10, user.actorId());
}
if (user.isActor()) {
$gameVariables.setValue(11, skill.Id());
}
</Before Eval>
It doesn't want to log the skill ID (admittedly I've been googling and trying to find the right phrasing for the equivalent of 'skill.id' which I'm assuming is wrong), and the formatting of the two if statements might not even make sense either, but I'm trying to learn.
Do you or anyone who reads this know how to make it an encapsulated statement that checks all three of those terms and stores them in variables 10(actor id), 11(skill id), and 12(enemy id(s)) respectively?
I know this is probably basic stuff, but I couldn't find how to check a skill id in a similar fashion. right now I have something like this in the skill Notes:
<Before Eval>
if (user.isActor()) {
$gameVariables.setValue(10, user.actorId());
}
if (user.isActor()) {
$gameVariables.setValue(11, skill.Id());
}
</Before Eval>
It doesn't want to log the skill ID (admittedly I've been googling and trying to find the right phrasing for the equivalent of 'skill.id' which I'm assuming is wrong), and the formatting of the two if statements might not even make sense either, but I'm trying to learn.
Do you or anyone who reads this know how to make it an encapsulated statement that checks all three of those terms and stores them in variables 10(actor id), 11(skill id), and 12(enemy id(s)) respectively?
[SCRIPTING] [RMMV] Trouble using 'Show Picture' based on battler
Hello everyone! First post here so apologies if I did this wrong somehow.
I'm trying to make a battle system visually similar to a game called Darkest Dungeon. In the game, you have a typical turn based battle screen. When you select 'Attack', for example, instead of the battler animating, the game runs an event that dims the whole battlefield. A more detailed still image of the attacker and the enemy slide across the screen toward each other, almost like a comic book style "clash".
My goal is to have some sort of common event or variable to verify who the current attacker and defender(s) is/are and what skill is currently being used. I want to create an if/else statement to cycle to the image that represents the correct attacker and defender, as well as recognize the skill being used. That's at least the way I've imagined it could be done. I know next to nothing about javascript so I tried searching for something that already existed with no luck and I'm open to other ideas.
I currently am using the Yanfly Battle Engine Core and the Action Sequence Packs to call a common event when the player chooses the 'Attack' command to display the image through Show Picture. I don't know how to have it log who the active actor and defender is so I can have a variable show the appropriate image. There's a lot on checking actors I found out there but nothing I could find talked about checking the ACTIVE actor taking their turn.
Before basic attack:
During attack phase:

I'm trying to make a battle system visually similar to a game called Darkest Dungeon. In the game, you have a typical turn based battle screen. When you select 'Attack', for example, instead of the battler animating, the game runs an event that dims the whole battlefield. A more detailed still image of the attacker and the enemy slide across the screen toward each other, almost like a comic book style "clash".
My goal is to have some sort of common event or variable to verify who the current attacker and defender(s) is/are and what skill is currently being used. I want to create an if/else statement to cycle to the image that represents the correct attacker and defender, as well as recognize the skill being used. That's at least the way I've imagined it could be done. I know next to nothing about javascript so I tried searching for something that already existed with no luck and I'm open to other ideas.
I currently am using the Yanfly Battle Engine Core and the Action Sequence Packs to call a common event when the player chooses the 'Attack' command to display the image through Show Picture. I don't know how to have it log who the active actor and defender is so I can have a variable show the appropriate image. There's a lot on checking actors I found out there but nothing I could find talked about checking the ACTIVE actor taking their turn.
Before basic attack:

During attack phase:

Pages:
1













