iPhone App Directory
RPG Maker VX
 
Gallery Members Search Calendar Help


Welcome Guest ( Log In | Register )

Collapse

>Announcement

Keep an eye out for the upcoming 3rd Quarter Contest!

> ATTENTION!

Do not post questions about Ace in this section. Any and all Ace related support should be posted in the Ace section found here.

 
Closed TopicStart new topic
> Detect active caracter, With a conditional branch
Fyrzo
post Apr 15 2012, 05:45 PM
Post #1



Group Icon


Type: Undisclosed




I want to change my caracter graphique depending on which one is the active one. Because I won't necessarely have the same active caracter

I can't find a way to detect who's my active caracter, so I was thinking to use a script.

Does anyone got any reference of script for that or any idea where to script that? I want to use it in the conditionnal branch.
Go to the top of the page
 
+Quote Post
   
Virus 9
post Apr 15 2012, 05:50 PM
Post #2


Evil is a virus that spreads!
Group Icon


Type: Writer
Alignment: Chaotic Evil




If I got this straight and I need to know if I do before I can help any further. You want it were if say like Actor 1 (Ralph) is the leader of the party was shown as a graphic on the map as the leader and if he dies it goes to the next that is alive to show on the map as the leader? Or what really cause I need to know before I can give a answer.


--------------------
EVIL RULES OVER ALL!
Spoiler:
After a great deal of a vote, I have been chosen to remain evil by the members of the forum! Now prepare for the 2nd stage of my plot!

I Support
Spoiler:






CODE
[img]http://i39.tinypic.com/ftklqq.png[/img]

Building
Spoiler:

Read if New or Beginner!
Spoiler:
Are you new to RPG Maker VX or the Forum? I will help you with some simple guides to understanding.
  1. If you are new to the forum then make your introduction known to the community. Also if you are leaving us we would like to hear you there.
  2. If you have experience something wrong with this Community Forum that is not working right you can contact the staff by visiting the Feedback and Support.
  3. People like us are willing to help anyone who is having any problems with RPG Maker VX Program down here in the Support / Help Forum. We do provide some provided answers in here to read.Or you can contact RPG_Lover or Akod for help through PM.
  4. Need some new images/audios for your game? We provide a wide range for your game development needs in our Resource Showcase. We also provide if you can not find what you need a request for something.
  5. If it's scripts you need. We can help you find what functions you want to add to your games in our Complete RGSS2 Scripts! As well we provide a request if you got something else in mind you need.
  6. Got a game developed and ready to show? You can provide any Completed Games or Under Developed Games with us to get a result from the community.
  7. Now you can also relax in our Off-Discussion of RPG Maker VX.

We do have a small support for RPG Maker VX ACE here. I recommend if your starting to use RPG Maker VX to go and fix your Game_Interpreter. Make sure to follow the Community Rules and you will be OK on your way.


Go to the top of the page
 
+Quote Post
   
Fyrzo
post Apr 15 2012, 08:05 PM
Post #3



Group Icon


Type: Undisclosed




It's more like the leader (actor 1 for now) go to sleep, I change the (actor 1) graphique for a graphique of him lying down. (For now every things fine)
But if the party member's change and now it's (actor 2) who's the leader and he goes to sleep, I want to change the graphique for (actor 2) lying down and not (actor 1).

So I have to detect who's the party's leader to make the correct graphique change.

This post has been edited by Fyrzo: Apr 15 2012, 10:22 PM
Go to the top of the page
 
+Quote Post
   
Akod
post Apr 17 2012, 12:50 AM
Post #4



Group Icon


Type: Designer
Alignment: Chaotic Neutral




You could always use variables. Just change the variable whenever you change who the leader is. then you can have a conditional branch check for a specific value.


--------------------


Having issues eventing something? Feel free to send me a message and I will see what I can do!





I Support
Spoiler:





Go to the top of the page
 
+Quote Post
   
Fyrzo
post Apr 19 2012, 02:33 PM
Post #5



Group Icon


Type: Undisclosed




Yes, thanks. I work around it like you said. It's just that to change the party's leader, I have to remove all the other caracter to let the actor you want to be the leader be first and to add back the other caracter.

With 4 actor, it's not so bad but I have 7 so the list of the event command is just plain long.
Go to the top of the page
 
+Quote Post
   

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 30th July 2014 - 10:25 PM

RPGMakerVX.net is an Privacy Policy, Legal.