Jump to content


Photo

Targeting an empty Actor slot in battle.

YEA Battle Engine Battle Symphony Summoning

  • This topic is locked This topic is locked
22 replies to this topic

#21 Yato

Yato

    (aka Racheal)

  • Early Adopter
  • 536 posts
  • LocationCanada
  • Primarily UsesRMVX Ace

Posted 25 September 2013 - 12:23 AM

Played around a bit with getting an animation to play. I did my tests in the Symphony demo assuming that's what you're using since you tagged the thread with it.

First off, because the script calls are long and hard to work with in the limited space the engine gives you, I made a little scriptlet to simplify the call:
class Game_Interpreter
  def start_actor_ani(actor_index, animation_id)
    #set x
    x = SYMPHONY::View::ACTORS_POSITION[actor_index][0]
    SceneManager.scene.spriteset.actor_sprites[actor_index].x = x
    #set y
    y = SYMPHONY::View::ACTORS_POSITION[actor_index][1]
    SceneManager.scene.spriteset.actor_sprites[actor_index].y = y
    #start snimation
    a = $data_animations[animation_id]
    SceneManager.scene.spriteset.actor_sprites[actor_index].start_animation(a)
  end
end
Then your common event you'll just want a script call of the following:
i = $game_party.battle_members.size
if i < $game_party.max_battle_members
  start_actor_ani(i, 38)
end
Changing the 38 to whichever animation you want. This should go before the add actor command. You'll also want to add a wait command of however long the animation is after it.

sig-HB.png HFbar.png

Spoiler

#22 Estellise Roekes

Estellise Roekes

    Advanced Member

  • Members
  • 86 posts
  • LocationStoryland
  • Primarily UsesRMVX Ace
  • First LanguageEnglish

Posted 25 September 2013 - 07:47 AM

Sorry guys, forced myself to go to sleep after an incredible derp moment 8 hours ago.
 
I'll give that a shot, Racheal~

That worked! I had to set the scope to None, otherwise the animation played on the summoner, then the zombie's spawn location. But, it played an animation before the zombie's appearance~ I really appreciate all the help Duncan and Rachael~

MugenNN-1.png


#23 Mithran

Mithran

    Advanced Member

  • Global Moderators
  • 366 posts
  • Primarily UsesRMVX
  • First LanguageEnglish

Posted 25 September 2013 - 08:02 PM

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.





Also tagged with one or more of these keywords: YEA Battle Engine, Battle Symphony, Summoning

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users