Ich nehme an, dass er da was vergessen hat. Mit Variable #2 kannst du den Spieler oder ein Event auswählen, mit Variable #1 die ID der Animation.
|
Ruby Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
|
#--------------------------------------------------------------------------
# Show fixed animation (default=1) over an event defined by a fixed game
# variable (default=2). Use via script call "show_animation".
#--------------------------------------------------------------------------
def show_animation
character = get_character($game_variables[2])
if character
character.animation_id = $game_variables[1]
# Fiber.yield while character.animation_id > 0
# uncomment line above to activate wait
end
end |
Das ist allerdings nicht exakt das, was du, jedenfalls laut Titel, gesucht hattest.