PDA

View Full Version : Working Buttons,



memnoc
08-07-2006, 07:47 PM
How do you make a working button?

I've got all the sprites I need
-Button unstepped on
-Button stepped on
-What will be changed
-What has changed

But I don't know how to make it work, :S

LinkMaster500
08-07-2006, 10:51 PM
Are you talking about some kind of switch (e.g. step on a switch in a dungeon and a staircase appears, obstacles disappear or something like that)?

If so, do the following:

1. Right-click on the button combo (for unstepped) and pick as the combo type "trigger temporary" or "trigger permanent."

2. Go to Data-->Secret Combos. Then set flag 16 to the combo for "button stepped on." Then press F8, select flag #16 and place it on the unstepped button. Now when Link steps on the button, it will change to the stepped button combo. (I think this is right. I have worked with switches but not where the switch changes appearance when you step on it.)

3. Set the secret combo flag (use flag 17) for whatever else you want changed. Unfortunately, you didn't say what specifically you want to happen when you step on the button. Could you be a little more specific.

memnoc
08-08-2006, 05:30 PM
Well, thats basically all I need, since im only changing 2 ground tiles with the button. so Thanks