- Joined
- Jul 4, 2018
- Messages
- 15
- Reaction score
- 0
- First Language
- English
- Primarily Uses
- RMMV
I cant get the shape to make a rectangle any tips guy?
@meteomage already mentioned that the shapes might've been removed a few posts back.I cant get the shape to make a rectangle any tips guy?
Any chance you could turn this into a tutorial vid?Yes, that's how it works. Actually you can make both push/pull in the same way. I'll explain what I'm doing for make it easier to replicate. but is important to add that I made this for battles with only one actor and one enemy. English is not my first language so I apologize in advance if I write something incorrectly.
First. You need find a way to save in variables the Id events from every actor and enemy. I find that Galv's Event Spawner is just perfect for do that.
View attachment 181774
This image is from an event that:
1-clear all previous spawned/cloned events.
2-fadeout for hide the next event spawn.
3-A switch for prepare the "battle processing" in other event.
4-Spawn/clone actor event in the desired location.
5-Important: Save last spawned event Id into variable 6 (or any variable you chose).
6-Spawn/clone enemy event in the desired location.
7-Important: Save last spawned event Id into variable 7 (or any variable you chose).
You must repeat this until you save a variable for each actor/enemy that take part in the battle.
The next thing to do is create the push skill in a common event. The common event in general terms checks who enemy/actor is receiving the push effect and then applies that effect (the movement).
In my game all battles are 1v1 so for me was easy to check who actor/enemy was receiving the skill effect. I just checked if the current turn was a player turn or an enemy turn (player phase id/enemy phase id in plugin parameters).
If you have multiple actors/enemies in the battle you still have to solve this. You need find a way to check not the actor/enemy id, but the event id that represents that actor/enemy into the battle. Maybe our great @arleq1n could help us with this. Actually, with this the previous step can be avoided.
Once you know the event id from the actor/enemy, you need create a conditional branch for ensure that the pull/push effect works in all enemies/actors.
View attachment 181775
In the image this is what happens:
1-wait 15 frame for delay the moment where the actor/enemy is pulled/pushed after the skill is used.
2-check who is receiving the skill effect.
3-script:
a) create a temporal variable that saves the actor/enemy event id that is receiving the skill effect (just to avoid syntax errors). In my case I'm using the value that I got from Galv's Event Spawner, but if you knows the event id from the player/enemy that is receiving the skill effect, you can save it in this variable directly, avoiding the need for repeat the conditional branch.
b) increase the move speed for that event.
c) move the event in the desired direction. Backward = push, Forward = pull, repeat for each distance step. (all events by default, are looking in the direction of the character that triggers the event).
d) return the move speed for that event to previous value.
Finally just add the effect in the desired skill calling the common event.
Sorry, I don't have the right equipment/software for make a vid. But I'm working on a set of skills for tactical battle system with help of other plugins. When it's done I can share a demo maybe...Any chance you could turn this into a tutorial vid?![]()
That would be dope!Sorry, I don't have the right equipment/software for make a vid. But I'm working on a set of skills for tactical battle system with help of other plugins. When it's done I can share a demo maybe...
If you have multiple actors/enemies in the battle you still have to solve this. You need find a way to check not the actor/enemy id, but the event id that represents that actor/enemy into the battle. Maybe our great @arleq1n could help us with this. Actually, with this the previous step can be avoided.
You need both event types, characters and enemies.Hello! I'm so new I literally created an account to ask this question. By following the instructional video I was able to get the battle to start, but immediately after Battle Start goes away it says "was defeated" then the fight ends. I believe I followed the video to the letter and am at a loss.
I had the exact same problem, but managed to figure it out on my own. The code seems to have been updated since the video was first made so there's some slight changes.Hello! I'm so new I literally created an account to ask this question. By following the instructional video I was able to get the battle to start, but immediately after Battle Start goes away it says "was defeated" then the fight ends. I believe I followed the video to the letter and am at a loss.
thanks for your explanation!I had the exact same problem, but managed to figure it out on my own. The code seems to have been updated since the video was first made so there's some slight changes.
1. The note tags need to be capitalized (e.g. "Actor" not "actor", "Enemy" not "enemy").
2. The events for Actors and Enemies should use Action Button as the trigger, not Parallel.
Here's what I did.
Create a new map.
On the map, create an event with Parallel trigger.
Add command to event to do Battle Processing with default options.
Create an event for each Actor.
Add tag <Actor:actorId> where actorId is the number representing the actor from the list of game actors. "Actor" must be capitalized.
Trigger for actor should be Action button.
Create an event for each enemy
Add tag <Enemy:enemyId> here enemyId is the number representing the enemy from the enemies list. "Enemy" must be capitalized.
Trigger for enemy should be Action button.
Mana as in special/magical points? The monster only has 25 mp, so I don't think it is really that, I don't really see 25 as a large number...I think I understood where the bug came from. seeing Diopptaz's recent post, I tried to reduce the monster's mana bar. and it turns out that its worked. so i think the plugin is struggling with max numbers. So an advice to all, avoid putting too large numbers in your statistics.