- Joined
- Mar 25, 2022
- Messages
- 10
- Reaction score
- 12
- First Language
- English
- Primarily Uses
- RMVXA
Hey! I'm super new to this website, but I wanted to see if anyone could help me out with a problem I'm having in my game!
... Well, truth be told, I'm having multiple problems with my game, but I figured I'd just take things one problem at a time.
I'm trying to make a move that triggers a common event which then forces that same character to use another specific move during their next turn.
Initially I wanted to simply use the 'force action' option in the event commands, but it only gave two options for the action subject, which was the enemy or the actor.
If I select 'actor', then the player uses the move against the enemy, and if I select 'enemy', then the enemy uses it against the player. What I'm looking for is a way to make the action subject be whoever first performed the skill.
I thought maybe a potential fix to this would be to use scripting. Basically, I thought that maybe if I used the script equivalent for the 'force action' command, I could sneak into the code and alter the action subject part of it and make it apply to whoever triggered the event. Is something like that possible?
TLDR: What's the script equivalent of the 'force action' common event command, and how would I be able to change it to make it impact specifically the character that triggered the event (both players and enemies)
Any help with this would be awesome! Thanks in advance! c:
EDIT: I realized it might not be apparent what I'm asking for, so here's an example:
The player or enemy uses move "A" for their turn. When used, move "A" will force the player to use move "B" during their next turn. You can think of it like the 'dig' move in Pokemon, where the first move does nothing but the second actually damages the opponent.
The way I'm currently doing this is by using common events. Move "A" triggers a common event, which forces the player to use move "B".
The 'Force Action' command is set up like this:
Action Subject (who performs the action): Doge (who is the player in this game)
Action Skill: Fireblast A
Action Target (who is being attacked): index 1 (enemy 1)
(You can see it in the attached file.)
This is perfect for when my player will use this skill to attack the enemy, but I want this skill to be used BOTH ways! And unfortunately with how the force action command is set up, when the enemy plays it, it causes the player to damage the enemy again instead of the other way around.
I was wondering if there was a way to alter the 'force action' command to where it just causes whoever activated it to use the move against the opponent.
... Well, truth be told, I'm having multiple problems with my game, but I figured I'd just take things one problem at a time.
I'm trying to make a move that triggers a common event which then forces that same character to use another specific move during their next turn.
Initially I wanted to simply use the 'force action' option in the event commands, but it only gave two options for the action subject, which was the enemy or the actor.
If I select 'actor', then the player uses the move against the enemy, and if I select 'enemy', then the enemy uses it against the player. What I'm looking for is a way to make the action subject be whoever first performed the skill.
I thought maybe a potential fix to this would be to use scripting. Basically, I thought that maybe if I used the script equivalent for the 'force action' command, I could sneak into the code and alter the action subject part of it and make it apply to whoever triggered the event. Is something like that possible?
TLDR: What's the script equivalent of the 'force action' common event command, and how would I be able to change it to make it impact specifically the character that triggered the event (both players and enemies)
Any help with this would be awesome! Thanks in advance! c:
EDIT: I realized it might not be apparent what I'm asking for, so here's an example:
The player or enemy uses move "A" for their turn. When used, move "A" will force the player to use move "B" during their next turn. You can think of it like the 'dig' move in Pokemon, where the first move does nothing but the second actually damages the opponent.
The way I'm currently doing this is by using common events. Move "A" triggers a common event, which forces the player to use move "B".
The 'Force Action' command is set up like this:
Action Subject (who performs the action): Doge (who is the player in this game)
Action Skill: Fireblast A
Action Target (who is being attacked): index 1 (enemy 1)
(You can see it in the attached file.)
This is perfect for when my player will use this skill to attack the enemy, but I want this skill to be used BOTH ways! And unfortunately with how the force action command is set up, when the enemy plays it, it causes the player to damage the enemy again instead of the other way around.
I was wondering if there was a way to alter the 'force action' command to where it just causes whoever activated it to use the move against the opponent.
Attachments
Last edited: