PDA

View Full Version : I can't make switches!


Maksie99
2003-12-27, 12:29 PM
I tried to make switches once using a tutorial on the internet but it didn't work can anybody help me?

BlueCube
2003-12-27, 01:09 PM
Switches are like variables with only two settings: ON, or OFF.

You'll need to specify what it is you want to do, then I'll explain how the switches work in context.

Or do you mean an in-game switch that your character activates to do something?

Maksie99
2003-12-28, 03:42 AM
For example , I want to make the character find an item in a box , but I don't want that the next time I look in the box , the item is there again.And that you can get like 34 potions and there was supposed to be only one.

I need help with events with more than one pages and finding items and stuff.

BlueCube
2003-12-28, 12:20 PM
Ahh, two page events.

----------------------------

TREASURE CHEST EVENT

Page 1's graphic is a closed treasure chest, while Page 2's graphic is an open one. (Make sure to set the Animation Type to Fixed Graphic)

http://www.iownjoo.com/freeimghost/imps/event.JPG

To explain:

Only one page can be activated at a time, and the page with the highest number has priority.

If you activate the treasure chest the first time, the first page is the only one that meets all the requirements (Actually, it has no requirements at all). In that case, it runs the event lines on that page, then ends the event.

The next time you try to activate it, both pages 1 and 2 meet the preconditions - but only page 2 goes because it's a higher number. I also suggest labeling the switch something you'll remember - you don't want another treasure chest (or other event) to use the same switch (unless you want to deactivate 2 chests at once when one is opened.)

Maksie99
2003-12-29, 12:33 PM
Wow thanx Bluecube it worked!