Page 1 of 1

General Command Button

Posted: Tue Apr 22, 2008 11:35 am
by mette
Hi all,

Im trying to create an adventure where two matching (color and subcolor) teleporters start out with one being active and the other being not active. I want the player to step on a button that actives the one not active from the start without deactivating the other one. I have figured out how to do this using the "general command button" (Command = 1, Data1 = 500). The problem is that you can't see the general command button in the game, so if I just use that, the TP will just suddently be activated with the player not knowing why. I would like a visible button to step on. So I read in the tutorial:
Tutorial wrote:General Command Button (Advanced Option): allows an internal program command to be run. This button itself can be given an ID (allowing a second button to activate/deactivate it).
This I cannot figure out - unless the second button mentioned is also a general command button. If the latter is the case, it doesn't help me solve my problem.

Can anybody tell me how to do this, please? Any help will be appreciated.

Thanks,
Mette

Edit: I just made a test level so you can see what I mean. The general command button is placed on the floor tile that's different. I just want a visible button that does what the general command button does.....

Posted: Wed Apr 23, 2008 11:54 am
by mette
OMG :oops: :oops: :oops:

I just realized that I can use a square button instead of a diamond button. Then there's no need for the general command button :oops: :oops: :oops: Problem solved :lol:

I made that so much more difficult than it is :lol: :oops: :lol:

Posted: Wed Apr 23, 2008 7:13 pm
by mqdar
:lol: :lol: Don't you remember classic Wonderland, being the one who's been doing so much of it?

About the tutorial, that part was for activating the CB (Command Button), except you don't need another CB to
activate that one, because you can use this formula:
500 + (Colour * 5) + Subcolour

Posted: Fri Apr 25, 2008 11:25 am
by mette
mqdar wrote::lol: :lol: Don't you remember classic Wonderland, being the one who's been doing so much of it?
I guess I didn't remember :oops: - at least until I had my DUH-moment :lol: :lol: :lol:
mqdar wrote: About the tutorial, that part was for activating the CB (Command Button), except you don't need another CB to
activate that one, because you can use this formula:
500 + (Colour * 5) + Subcolour
Thanks :D