Posted By
|
Message
|
G. Hull
Registered 07/01/2009
Points 125
|
19th February, 2009 at 04:47:32 -
Hello, me again.
I'm making a game that has buttons. I want the buttons to toggle when you move on to it. I made it so "If flag 1 is "ON" and "Guy" collisions with button, set flag "OFF"." and "When flag 1 is "OFF" and guy collisions with button, set flag "On"." But here's the catch, it switches "ON" and "OFF" right after each other and it goes so fast it looks like nothing's happening...Any thoughts?
Much Obliged,
-Mark
n/a
|
nim
Registered 17/05/2002
Points 7234
|
19th February, 2009 at 04:55:35 -
Use "Toggle flag" instead.
//
|
G. Hull
Registered 07/01/2009
Points 125
|
22nd February, 2009 at 09:33:47 -
Well, the thing is, it just goes really fast, without it looking like it doing anything. Basically, I want it too move over the button, and then if it move over it again, it toggles it. Any thoughts?
-Rannug
n/a
|
Don Luciano Heavy combat pancake
Registered 25/10/2006
Points 380
|
22nd February, 2009 at 10:04:55 -
flag 1 off?
mouse over button - toggle flag 0 - flag 1 on
negate=mouse over button - flag 1 off
Code me a sausage!
|
|
|