Page 1 of 1

Pause Game (So Can Answer Telephone)

PostPosted: Mon Aug 30, 2004 12:15 am
by jazz_e_bob
I'm having trouble using PauseGame.

I can get the "p" key to pause and unpause.

But I am finding it hard to create a "Paused - Click To Resume" graphic actor.

Feel free to thow any ideas my way... :-)

Image

PostPosted: Wed Sep 01, 2004 12:41 am
by makslane
1) When the user want to pause, Create your pauseActor ("Paused - Click To Resume")

2) On Draw Actor event of pauseActor add a Script Editor action with code:

PauseGameOn();

3) On Mouse Button Down event, add a Script Editor action with code:

PauseGameOff();
DestroyActor("Event Actor");

PostPosted: Wed Sep 01, 2004 1:31 am
by jazz_e_bob
I knew it would be something simple. :oops:

Thanks for your time mate. :)