how to tell if blocking is on? (SOLVED)

Started by EnterTheStory (aka tolworthy), Sun 24/02/2008 17:45:14

Previous topic - Next topic

EnterTheStory (aka tolworthy)

What's the best way to tell if blocking is on?

I write a line in "repeatedly execute always" that checks the mouse mode for "wait." But when blocking starts the mouseMode is no longer updated. So the mose is reported as being the last mode BEFORE waiting.

Any suggestions?

Pumaman

IsInterfaceEnabled() should tell you what you need.

EnterTheStory (aka tolworthy)

Thanks!

Embarassingly I just found an old thread on the same topic, probably the exact second that you posted.  http://www.adventuregamestudio.co.uk/yabb/index.php?topic=31866.0

I think I need more experience at using the search box. I searched for "blocking" and read about thirty different threads before giving up, searching for "emodewait" and finding that one.

Pumaman

You're certainly not the first person to miss that function. Perhaps it needs to be renamed to "Game.IsBlocked" or something to make it more obvious...

SMF spam blocked by CleanTalk