Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Sign in to follow this  
whatidk

Actor's Turn Only

Question

Hello there, I was wondering if I could make an event run in battle when it is the actor's turn (Or Enemy). I would like to run only when it is their turn however, rather than only on certain turns (The conditions used in the troops page if you know what I mean with the a+bx format)

 

Can this be done? If your wondering why, I wanted to create battle turn timers and a whole bunch of different things (Including special skills, etc.) I'm sure this might require a little scripting =)

Edited by whatidk

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

It can be as simple as turning a switch on when it is the actors turn and off when he is done. I just want some kind of trigger and then I can go from there with my timing system, etc.

Share this post


Link to post
Share on other sites
  • 0

You may be able to do something like this in parts of the scripts that determine battle action:

 

e.g. in Scene_Battle

if @active_battler == $data_actors[id]
 do something
end

 

Hopefully, that will get you on track. Not exactly sure what you are going for, though. I think you would most likely edit Scene_Battle, Sprite_Battler, or Game_Battler. If you could possible give a specific example, maybe I could help more and identify what you need to do.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...