(Note, I do not need help with bombs in battle or being used as items. They are not a normal item in this game.)
And so I return after a day of experiments. Experimenting... with script calls!!!
Let's start with what I have already learned (that is actually relevant to this bomb event) and why it matters so advice can be doled out in a proper fashion. Also it let's me check if I'm understanding what is going on under the hood.
makes the event matching variable 6 happen, like magic!!! I love it and it makes me smile. 🙂 This is super useful and relevant to what I'm doing. [dances]
This means when the bomb event is on a matching square it will activate and by reading the value of variable 6 the game will know that the proper event must happen too.
will call the animation on the event that is equal to the value of variable 6. Gee wilkers that is certainly something, to bad it's not what I need! 😀 (It will be useful of course, but not for this.)
You see, for my bomb event I want the event to play on tile in front of the player even if there is no event there.
Did not do what I thought it would do (make the animation play on the corresponding tile)- in fact it did nothing in this circumstance. This made Mikey sad because he thought he was finally understanding something. 🙁
I either entered information wrong, or misunderstood the use of this script call.
So what do I need? (Which is not what I want per-say, but the bare minimum I need.)
A couple of things but here is the event as it stands for testing reasons:
What I need is a common event that works like this:
Press Keyboard Button (check) -> Event reads for the spot in front of player (check) -> Bomb animation plays in front of player ( no check ) -> Check if Event is bomb-able (sorta check?) Event reacts (check) -> Happy Mikey ( no check )
of course there are some problems present in using
to make the event activate. It activates ANY event in that spot.
In this I saw you could use the note tag to differentiate but that was for MZ and I'm not sure MV can pull that off. I did experiment with it and couldn't get it to work, but I was actually EVEN LESS proficient with script calls at the time. If I can figure this out I can remove some hassle because as it stands I can merely have events check if they are bomb-able from within themselves, but it's a bit more time consuming.
But the short and sweet of it is I am trying to get the animation to play regardless of if there is an event because I think it would be cute - also - see below. (Plus I am wondering if there is a more simple method to checking what events CAN be bombed)
SO What do I Want!?
Now comes the idealistic ramblings of a beginner.
I'd love it if I could figure out THIS!
B being Bomb, P being player, X (and B being bombs area of effect.
I'm like 87% sure it's possible (even if it would take a lot of variables.)
See one of the things bombs can do is destroy enemies on the field (although you won't get experience and they do come back when you re-enter the map) and it would help if bombs covered a bit more area to make them more effective at this extra task.
So I could use advice on eventing this.
Anyway, sorry this was a little long. I tend to ramble even in text format.
And so I return after a day of experiments. Experimenting... with script calls!!!
Let's start with what I have already learned (that is actually relevant to this bomb event) and why it matters so advice can be doled out in a proper fashion. Also it let's me check if I'm understanding what is going on under the hood.
Code:
$gameMap.event($gameVariables.value(6)).start();
This means when the bomb event is on a matching square it will activate and by reading the value of variable 6 the game will know that the proper event must happen too.
Code:
$gameMap.event($gameVariables.value(6)).requestAnimation(5);
You see, for my bomb event I want the event to play on tile in front of the player even if there is no event there.
Code:
$gameMap.tileId(($gameVariables.value(4), ($gameVariables.value(5), 0).requestAnimation(5);
I either entered information wrong, or misunderstood the use of this script call.
So what do I need? (Which is not what I want per-say, but the bare minimum I need.)
A couple of things but here is the event as it stands for testing reasons:
What I need is a common event that works like this:
Press Keyboard Button (check) -> Event reads for the spot in front of player (check) -> Bomb animation plays in front of player ( no check ) -> Check if Event is bomb-able (sorta check?) Event reacts (check) -> Happy Mikey ( no check )
of course there are some problems present in using
Code:
$gameMap.event($gameVariables.value(6)).start();
In this I saw you could use the note tag to differentiate but that was for MZ and I'm not sure MV can pull that off. I did experiment with it and couldn't get it to work, but I was actually EVEN LESS proficient with script calls at the time. If I can figure this out I can remove some hassle because as it stands I can merely have events check if they are bomb-able from within themselves, but it's a bit more time consuming.
But the short and sweet of it is I am trying to get the animation to play regardless of if there is an event because I think it would be cute - also - see below. (Plus I am wondering if there is a more simple method to checking what events CAN be bombed)
SO What do I Want!?
Now comes the idealistic ramblings of a beginner.
I'd love it if I could figure out THIS!
XXX
XBX
P
XBX
P
B being Bomb, P being player, X (and B being bombs area of effect.
I'm like 87% sure it's possible (even if it would take a lot of variables.)
See one of the things bombs can do is destroy enemies on the field (although you won't get experience and they do come back when you re-enter the map) and it would help if bombs covered a bit more area to make them more effective at this extra task.
So I could use advice on eventing this.
Anyway, sorry this was a little long. I tend to ramble even in text format.