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
> UMS and face graphic not disappearing
Tsukihime
post Sep 9 2011, 06:07 PM
Post #1


Level 25
Group Icon

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




I'm reading the docs at the top of the UMS script and it says

QUOTE
$game_system.face_graphic = "" - change the face graphic to none


Which is simple enough. Since I'm most likely going to be re-using the same set of scripts for faces and names, it made sense to use common events to set up the faces.

So now I have two common events for the messages:

Normal Message

CODE
$game_system.face_graphic = ""
$game_system.name = ""


Decorated Message

CODE
$game_system.face_graphic = "dCC01"
$game_system.face_graphic_position =
ABOVE
$game_system.
face_graphic_justification = RIGHT
$game_system.name = "C.C."


Execution of each event would be as follows:

CODE
Call event "Decorated Message"
*display some actor text"
Call event "Normal Message"
*display some system messages*


I would expect when I call the second event, it would remove the face and the name.
The name gets removed, but the face remains.

I'm not sure what the issue is. The only custom scripts I've used so far is UMS.

EDIT: it seems that when I explicitly tell it to wait 1 frame, it behaves properly. Odd.
I guess I could always just have a "wait 1 frame" at the end of each common event to make sure it goes through.

This post has been edited by Tsukihime: Sep 9 2011, 07:23 PM


__________________________
My Scripts
Go to the top of the page
 
+Quote Post
   
Redd
post Sep 10 2011, 07:27 AM
Post #2


:<
Group Icon

Group: Revolutionary
Posts: 2,312
Type: Developer
RM Skill: Advanced




You could do that, but I'll move this over to RGSS Script Submissions for further help.


__________________________
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 - 05:31 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker