Help - Search - Members - Calendar
Full Version: [SOLVED] Display picture on button press?
RPG RPG Revolution Forums > Scripting > Event Emporium
roxanne410
Hello!
Alright, so I have an event I did a while ago, and it worked for a long time! Just recently, however, the event no longer works and I don't see why. Upon telling a friend offering to help me out, I copied and pasted all of the events/common events to a new game and it worked. I have the images of all of the parts to the system. Just so you know, I'm using it as a system so the character can kiss another on the cheek... Don't ask...
I have NO idea what could be wrong, because one day it worked, and another, it didn't...

First, I have an event running parallel to call the common event 'Random' to being:

Calling 'Random




This is the common event, Random (Don't ask about the name) Which says that if the button Z is being pressed, then turn the switch on. If not, turn it off: (Pretty straight forward)

Common event: Random



So when you press the 'Z' button on Max (Which translates to the D key in my game) you call the second common event:

Max's event



So finally, it calls the event which if you have enough FP With him (Done by variables) a picture of you kissing his cheek will pop up. If not, he will say something else.:

Common event 2




Can anyone see a problem here? If so, please let me know smile.gif

If you guys have questions, here is what I've answered to some of them:
Do you have any custom scripts? Yes, a lot of them. However, I did not add or remove any scripts around the time it stopped working.

Are you using any of the common events in other places in the game? Nope. Not at all smile.gif

Have you changed anything while it was working until the time it stopped? No... in fact, I wasn't working on the game for a while around that time...


Any help would be appreciated greatly!

Thanks,
Roxie
lilcooldude69
why not delete page 3 and set the common event to trigger from that switch?, if that doesnt work post you demo of it here and u said that it works in a new demo?, have u fixed the interpreter problem?, do you have any scripts that may be interfereing with it?.

these are just some of the normal procedures to check when something doesnt work in a main project, but does work in a new project.
roxanne410
QUOTE (lilcooldude69 @ Aug 12 2011, 07:00 PM) *
why not delete page 3 and set the common event to trigger from that switch?, if that doesnt work post you demo of it here and u said that it works in a new demo?, have u fixed the interpreter problem?, do you have any scripts that may be interfereing with it?.

these are just some of the normal procedures to check when something doesnt work in a main project, but does work in a new project.


Thank you, however
I'm not too clear what you mean... Because if I deleted the third page, wouldn't it just play whenever you press the 'Z' button? I'll try to put the scripts into the demo and see if one is causing it's downfall, but I'm not too sure. Somehow I believe it may be a conflicting script. If it's not the script, I will post a demo smile.gif

Thanks,
Roxie
lilcooldude69
oh yeah...., didnt notice that part of the event, lol i work better with demos ne ways tongue.gif, well let me know if its a script, what u can do to help u determine it is, make a copy of you main project, and run the game, see if the event works, if it doesnt, delete a script --> run the game *doesnt work* --> delete script, and so on until it works if none of them work, then idk i'll have to play around with your demo D;
Alt_Jack
Did you change the button config? mellow.gif
roxanne410
QUOTE (Alt_Jack @ Aug 13 2011, 09:45 AM) *
Did you change the button config? mellow.gif

Numerous times, yes. I'll check again just to make sure. *Checks* Yep they're all good. Nothing wrong there... :/
roxanne410
QUOTE (lilcooldude69 @ Aug 13 2011, 01:31 AM) *
oh yeah...., didnt notice that part of the event, lol i work better with demos ne ways tongue.gif, well let me know if its a script, what u can do to help u determine it is, make a copy of you main project, and run the game, see if the event works, if it doesnt, delete a script --> run the game *doesnt work* --> delete script, and so on until it works if none of them work, then idk i'll have to play around with your demo D;


Now, I found out the script that was hindering the event from working. fortunately, it was one I could go without... But... It'd be nice to have. It was cyclope's name entering script where it allows you to type instead of enter each letter individually. Thanks for your help smile.gif I'll delete the script and it should work now happy.gif Thanks again!
~Roxie
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.