Chaos Project

RPG Maker => RPG Maker Scripts => Topic started by: Holyrapid on June 06, 2009, 05:59:43 am

Title: "Splitting" your party?
Post by: Holyrapid on June 06, 2009, 05:59:43 am
If this is in the wrong place, feel free to move it where it belongs.

Now i was wondering, can i kinda "split" the party if i´m using catepillar? Or the normal view?
I mean, when at an inn, when you go to sleep, your party goes to different beds. Like in the s/nes Final Fantasies.
I think this could be done with events, but it could get complicated very quickly. I mean, condaitional brancehes to check if someone is in your party, and then setting their move route...
So can this be done by somehow using the script-call event? 
Title: Re: "Splitting" your party?
Post by: Blizzard on June 06, 2009, 06:36:11 am
Turn off the caterpillar and use events instead of the caterpillar guys. It's actually not all that complicated to set up the event. You can also cheat.

$game_map.events[ID].character_name = $game_party.actors[POSITION].character_name
$game_map.events[ID].character_hue = $game_party.actors[POSITION].character_hue


You will also need this script in the editor:

class Game_Character

  attr_accessor :character_name
  attr_accessor :character_hue

end