Creating Actors that don't fight

● ARCHIVED · READ-ONLY
Started by BCBigCoyote 16 posts View original ↗
  1. I searched every where, but no one seems to have what I want to do.

    Here what I want to do. I want to create an actor that only acts as the leader of the party but does not take part in battles.

    Here"s the tricky part, in the start of the game you choose your party from three choices. Later on you get more and more actors to your team and it would be to crazy to handle. I hope theirs a way for this either script or hardcore eventing. :)   :)   :)   :)   :)
  2. Remove them from battle before the start of each battle, and put them back after? There might be a quicker script to do this.
  3. You can search the master script list for a pet script, but I don't know if that will work for the party leader.


    You might also look for the Aeon Party script, that replaces your actors upon entering battle


    Or you might try Yanfly's Party System, but I do not know if that script includes battle options.
  4. Thanks for replying and suggestions, but the tricky part is that I would have to replace the actors in the battles, and I cant make the game detect the members in the party. Since you be switching in actors and out actors. Think like pokemon games. The main character ex-Red does not fight but his pokemons does. Hopefully you guys understand. 
  5. You can set it up that the actor gets taken out in the troop events... That's what I did with my character, and then put them back after the battle, if your doing evented bad guys on the map, random enemies would be a bot trickier I suppose?

    That might help?
  6. GAME_PLAYER_ACTOR_ID = 1class Game_Player  def actor    $data_actors[GAME_PLAYER_ACTOR_ID]  endendChange the Player ID number to the actor your wish to show up as leader.
    Ah, I saw you want to be able to change it in-game... Hmm... Let me talk to Dekita about this and see what he can do.
  7. ;)

    #===============================================================================module ThreadThing#===============================================================================  #-----------------------------------------------------------------------------  # ID of variable to use for actor id.  #-----------------------------------------------------------------------------  Variable_ID = 50  #-----------------------------------------------------------------------------  #  #-----------------------------------------------------------------------------end#===============================================================================class Game_Player#===============================================================================  #-----------------------------------------------------------------------------  #  #-----------------------------------------------------------------------------  def actor    $data_actors[$game_variables[ThreadThing::Variable_ID]] || $game_party.leader  end  #-----------------------------------------------------------------------------  #  #-----------------------------------------------------------------------------endsimply ensure that the variable id equals the id of the party member you want to show.

    If the variable is is incorrect it will return the party leader.
  8. This may sound noobish, but I'm a noob  :p

    Do I put in common events or the troops section.

    Thanks for your replies.
  9. If you are using the script I posed above you press F11 and open the script editor - then scroll down untill the line 'inert here' which is below materials and then paste the code in a new script page below materials and above main.

    Then simply control the variable (ID defined in the script) within normal game event commands :)

    ~ Hope that helps :)
  10. Again a noob question, how would you control the variable with events.

    I sorry that i'm noob  ;_;  .

    Pictures can be helpfull.
  11. Sorry - I literally cant use a map in my current project to get specific directions on how to control a variable from within an event; however, Andar(above) has a link in his signature full of useful tutorials one of which will surely be for variables and switches :)
  12. Thank you Dekita for your help :)
  13. No problem :)
  14. I decided to add a picture to show what I want to accomplish

    Let say that Eric is the leader, I want him to lead the party but does not fight.

    And If I want to change characters I dont want to replace each actor and put them back in order, because The game does not detect the changes made in the party.

    Hopefully my mind can figure this out.

    Screen 3.png
  15. After some tinkering around I put my party leader to auto battle which works only downside is he appears in the battle and he fights by him self.

    Any way to make him not fight but still be leader.

    ~~~~~~~~~~

    Edit

    ~~~~~~~~~~

     Auto battle is a special type that I used in the class
  16. YES!

    Thank you guys for helping me, and I figured it out, At the start of the battle it show the actor which is kinda annoying but Relaxing since I don't have this problem.

    You can close this page down. Thank you guys  :guffaw:   :guffaw:   :guffaw:   :guffaw:   :guffaw: