General Command Button

Help Topics, Bug Reports, Feature Requests, etc.
Post Reply
User avatar
mette
Rainbow SuperStar
Posts: 2841
Joined: Thu Nov 11, 2004 4:46 pm

General Command Button

Post by mette » Tue Apr 22, 2008 11:35 am

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.....
You do not have the required permissions to view the files attached to this post.
\Mette
User avatar
mette
Rainbow SuperStar
Posts: 2841
Joined: Thu Nov 11, 2004 4:46 pm

Post by mette » Wed Apr 23, 2008 11:54 am

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:
\Mette
User avatar
mqdar
Rainbow Star
Posts: 1436
Joined: Mon May 09, 2005 10:46 pm

Post by mqdar » Wed Apr 23, 2008 7:13 pm

: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
Skype wrote:[7:23:42 AM] Darx: Click here to give me an internet!
[7:23:57 AM] 'a'a: *clicks here*
User avatar
mette
Rainbow SuperStar
Posts: 2841
Joined: Thu Nov 11, 2004 4:46 pm

Post by mette » Fri Apr 25, 2008 11:25 am

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
\Mette
Post Reply