EpicBzzBoy3 0 Report post Posted May 18, 2011 anyways i made it so when i touch the chest i get 50 gold then it say you have 50 gold. the real problem is that when i click on the same chest it gives me more gold!!! i just want it so it gives gold 1 time in the whole entire game help would be nice Share this post Link to post Share on other sites
0 laansolo 3 Report post Posted May 18, 2011 first, create a new event page, make the image that of the open treasure chest then, on the original page, set a self-switch to A finally, the second page, set it so that it is active on self-switch A Share this post Link to post Share on other sites
0 EpicBzzBoy3 0 Report post Posted May 19, 2011 uhhhhhhhh here have a look at what i am doing since its not working 1st Page: Control Self Switch: A= OFF 2nd Page: Change Gold: +50 Text:You Got 50 Gold!!! Control Self Switch: A= ON what did i do wrong? Share this post Link to post Share on other sites
0 kellessdee 48 Report post Posted May 19, 2011 I'll give you a quick crash course on switches: Switches are exactly just that, a switch. Which is either on or off, and thus you can test whether the switch is on or off and create triggers with them. Using Switches to make a chest: Self switches are a little different then switches, switches can be called from anywhere and are shared between every event (including common events). Self switches are local, and can only be accessed by the event that contains the self switch (hence self) CHEST PAGE ONE: (Note the sections outlined in blue) 1. This is the conditions section. Essentially these are the conditions that are required for that page to be used as opposed to any other. (For the first part of the chest no conditions will be required) 2. This is the event's trigger conditions. Action Button - Player must hit enter to trigger event commands Player Touch - Player must walk in/on to the event Event Touch - Either the player must touch the event (like player touch) OR if the event touches the player Auto Run - The commands will automatically run and keep running (all other processes are paused during the loop) Parallel Process - The same thing as auto run, except other processes will not be paused. Notice after the event commands finish the self switch A is turned ON, this will trigger the second page. CHEST PAGE TWO: (Note the section outlined in red) 1. The condition is set for Self Switch A in ON, this means that when the switch is on, this page will be active. The graphic has also been changed to represent an open chest. And that is the easiest and simplest way to make a chest. Note: You can spruce up the open page by making it display a message like: "Empty!" or whatever you feel fit. Hope this helps! 1 CrimsonInferno reacted to this Share this post Link to post Share on other sites
0 EpicBzzBoy3 0 Report post Posted May 19, 2011 WOW thanks and i knew events/switches but i didn't know self swtiches but anayways thanks this gets me a step closer Share this post Link to post Share on other sites
0 kellessdee 48 Report post Posted May 19, 2011 Oh cool, no problem :D Self Switches work exactly like any other switch, except like I said they are only available to that exact event. Share this post Link to post Share on other sites
anyways i made it so when i touch the chest i get 50 gold then it say you have 50 gold.
the real problem is that when i click on the same chest it gives me more gold!!!
i just want it so it gives gold 1 time in the whole entire game
help would be nice
Share this post
Link to post
Share on other sites