Setting a specific actor as party leader

Joined
Jul 7, 2012
Messages
868
Reaction score
146
First Language
Norway
Primarily Uses
Scenario:


In my game there's a hub where the main character can talk to his party members.


The party members are set up as a seperate events.


Problem:


The game is set up so that the player can change the formation of their party.


This leads to the situation where a party member can talk to himself as a seperate event.


What I want:


When the party enters the hub, the specific actor should be set as the party leader.


What I have:


In rpgmaker VX Ace I can:


Gather player followers so it's only 1 character showing.


Change player followers so that they don't spread out again.


Change formation access so that the player can't rechange the formation.


I know I could remove all party members except the desired one and add them again when the player leaves the hub, but that is a bit of a messy event spaghetti.


As an event, it should be something like:


Is Partyleader == Actor-01 in formation 01?


If not: Set Actor-01 in formation 01.
 

masterdragonson

Villager
Member
Joined
Dec 8, 2014
Messages
9
Reaction score
3
First Language
English
Primarily Uses
Yanfly Engine Ace - Party System


http://yanflychannel.wordpress.com/rmvxa/core-scripts/party-system/


http://dl.dropboxusercontent.com/u/17078211/Scripts/YEA/SYF%20-%20Soulpour%20Yanfly%20Party%20System%20Fix.txt


It's a bit more robust then the default Party System but allows you to lock Members


There's a Bug Fix on the page for swap order and bellow is the Bug Fix For Locked Actors





This tells how to change the formation via scripts


idx1 = 0
idx2 = $game_actors[1].index
$game_party.swap_order(idx1, idx2)
lock_actor($game_actors[1].id)


So you could change the formation to what you want and lock the Member until they leave.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,860
Messages
1,017,040
Members
137,569
Latest member
Shtelsky
Top