Help - Search - Members - Calendar
Full Version: UMS and face graphic not disappearing
RPG RPG Revolution Forums > Scripting > Script Development and Support > RGSS
Tsukihime
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.
Redd
You could do that, but I'll move this over to RGSS Script Submissions for further help.
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.