Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> [Help] Adding additional conditional branches
monzdname
post Dec 14 2010, 06:11 PM
Post #1


Level 1
Group Icon

Group: Member
Posts: 10
Type: None
RM Skill: Beginner




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...)
Go to the top of the page
 
+Quote Post
   
jeremiahjpw
post Feb 4 2011, 09:24 PM
Post #2


Level 3
Group Icon

Group: Member
Posts: 31
Type: Writer
RM Skill: Intermediate




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
Go to the top of the page
 
+Quote Post
   
Alt_Jack
post Feb 4 2011, 09:46 PM
Post #3


Level 19
Group Icon

Group: Revolutionary
Posts: 377
Type: Event Designer
RM Skill: Skilled
Rev Points: 40




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.


__________________________

the Alternate Jacks event demo
As well as all of my images in one place, free for use.
Most of my images will be there, since this site takes too long to approve stuff and VX.net has no bulk uploader.
Go to the top of the page
 
+Quote Post
   
lilcooldude69
post Feb 5 2011, 02:47 AM
Post #4


The pro-est eventer u know ;D
Group Icon

Group: Revolutionary
Posts: 297
Type: Event Designer
RM Skill: Masterful




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


__________________________

My Userbars


Rated pg-13 part of signiture
Scientist A: "A single sperm has 37.5MB of DNA information in it. That means a normal ejaculation represents a data transfer of 1,587.5TB."
Scientist B: Too bad ejaculate has terrible packet loss
Scientist C:but the transfer does have a lot of redundancy

Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 21st May 2013 - 06:41 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker