Did you try re-arranging the scripts.
I have, above or below the menu script doesn't seem to change anything.
Also, the call script command for the journal is this:
SceneManager.call(Scene_Journal)
works perfectly, calls the script just like an event would. Thanks so much~
I want an event that represents any enemy basing on its id on the database. Like for example, Event 040 is Enemy 01 on the database...
its like the ones used on making the enemies fight you on the map.
What are the basics on how to actually touch this?
Hello, how can i show an animation on map position over a specific event, using code?
@soulpour, the snippet i previously sent you can do what your asking by nametagging events.
@Tridel
There is no need to use code to display an animation for an event.
Simply look through the event pages and you should see 'Display animation' or something similar. then you just set which event has the animation and your done.
Presumably Tridel has a script that is supposed to show an animation.
For the animation question, isn't it inside the Game Interpreter?
The help file also helps...
$game_map.events[event_id].animation_id = anim_id
where event_id is your event's id, and anim_id is the animation id in the database. Don't use leading zeros for either.
But yes, if you're doing this in events, you don't need to use the script. Show Animation will let you target any event.
Is there a script call to change the players movement speed, and graphic?
I'm asking because I have an event that changes his speed when he steps on a region. However I have a jumping script on, and if the player jumps over a region, the set move route messes up the player and he continues to walk forward until colliding with a wall or another region.
Why are you doing it via script instead of in an event? Doing it in an event will let you do the animation once, make the player wait until the animation is finished, then continue the game - whether that means giving control back to the player or doing something else first.
Perhaps if you explain WHAT you're trying to accomplish, rather than asking how to do an animation via script, might let us help you better. It's possible using a script is not the best way to go about it.
Thanks. Well im doing a turn based game so i have a paralell event that checks constanstly which is the player turn, and when a player is next to an enemy it attacks it and then i need that the animation runs, but also i need that my paralell event stop of check turns. This is my problem.
EDIT: I think that the solution is using the method animation?
#-------------------------------------------------------------------------- # * Determine if animation is being displayed #-------------------------------------------------------------------------- def animation? @animation != nil endBut i cant understand which is the class that controls it or how can i evaluate it. =(
If your parallel event is what makes the player attack the enemy, just add the animation in there, to the parallel event, and check the Wait button. It will stop checking turns until the animation is done.