Help - Search - Members - Calendar
Full Version: [Help] Adding additional conditional branches
RPG RPG Revolution Forums > Scripting > Event Emporium
monzdname
Is there a way a Condition will apply to the current party member displayed on the field (or map)?

Example, i have 3 party member named A, B and C.. We all know we can arrange them in the menu window to show whose character sprite will be displayed on maps (ie. when walking, interacting in towns...)

I'm looking for a condition wherein the event will be activated when a certain character is displayed on field map.

Example, A, B, C's in the party.. Now "A" is the 1st party member, so his character is displayed on field. And I'm going to make a parallel event (ie. @condition> when Y button is pressed) wherein if "C" is displayed on field, the event will take place.
If "A" is displayed on the field, the event would not function if Y button is pressed. But if i rearrange the party and put "C" as the 1st party member (making "C's" character display on the map), the event will take place when I press Y button

It functions the same way as "@Condition> actor "C"> in the party" but a little different because this condition applies even though you dont rearrange the party members

Well I hope you got the point.. And can help me with this..

I don't know if this can be done purely by eventing (using variables) or should a script able to do this (ie. @Condition> Script...)
jeremiahjpw
for each party member have a switch
when you hit the specified button for the party member, have it turn a switch on

CONDTIONAIL BRANCH: SWITCH [XXX] IS ON
@: then have it do whatever you need it to
Alt_Jack
I'm not overly familiar with RMXP (I use VX), so I'm hoping events haven't changed that much. I'm not sure why you'd do this (like, at all) but I'm pretty sure the guy above me is wrong.
You'd have something like:
Condition branch-> if button X is being pressed
->whatever your event does

Using a switch requires, you know, a switch.
You'd have to have something (like a variable or item) that would signify that person as being the leader (or whatever). I doubt you can get something for who specifically is currently on the map, which is likely more aethetic (player's sprite preference) than practical (affects game play).
But like I said, I haven't used RMXP in a loooong time.
lilcooldude69
hmm i thought over this and realized u cant set any variables to the position of ur party members u might need to do scripting for sure every possible event u can think of for this would still all end at the postion of your character....there may be no way then again....its late and im tired i might not be using all of my brain atm xD
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.