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
> A little help with an event/script
Victimize
post Jul 15 2012, 02:30 AM
Post #1


Level 1
Group Icon

Group: Member
Posts: 8
Type: Event Designer
RM Skill: Beginner




So I want to make it so the character picture changes when HP hits a certain % but I'm not finding any thing that allows me to condition branch the HP;

Picture 1 shows when HP is 81-100%
Picture 2 shows when HP is 65-80%
Picture 3 shows when HP is 26-64%
Picture 4 shows when HP is 25% and below
Go to the top of the page
 
+Quote Post
   
Chukkaque
post Aug 1 2012, 07:18 PM
Post #2


Level 2
Group Icon

Group: Member
Posts: 21
Type: Event Designer
RM Skill: Intermediate




Im not for certain, but I think you have to put that into every battle you design for the game. We had an item in a game that had a 10% chance of activating when the characters HP fell below 10% and the only way we got it to work was through putting into every battle.


__________________________
"Go wherever your heart takes you...but not that way."
"You must look inside yourself, to face your other self, so that yourself can be itself."
Go to the top of the page
 
+Quote Post
   
Tsukihime
post Aug 2 2012, 10:05 AM
Post #3


Level 25
Group Icon

Group: Revolutionary
Posts: 560
Type: None
RM Skill: Undisclosed
Rev Points: 25




If you're going to do it with scripts, just put it under Game_Actor#refresh, which is called basically all the time whenever something happens.

This post has been edited by Tsukihime: Aug 2 2012, 10:06 AM


__________________________
My Scripts
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: 19th May 2013 - 02:53 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker