Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 16,643 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
freeze_mode = 2 but still move the mouse? #229195
09/25/08 13:16
09/25/08 13:16
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Hi I want to stop my game (stopping entities AND functions) so I use freeze_mode = 2. But I still want to move the mouse, how can I realize that?

Re: freeze_mode = 2 but still move the mouse? [Re: PadMalcom] #230385
10/05/08 07:24
10/05/08 07:24
Joined: Apr 2004
Posts: 516
USA
Trooper119 Offline
User
Trooper119  Offline
User

Joined: Apr 2004
Posts: 516
USA
Using freeze_mode = 1; just freezes anything ENTITY or particle related why can't you use that, it sounds like what you want.


A clever person solves a problem.
A wise person avoids it.
--Einstein

Currently Codeing: Free Lite-C
Re: freeze_mode = 2 but still move the mouse? [Re: Trooper119] #230403
10/05/08 10:57
10/05/08 10:57
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
But it does not stop the game related function (Getting money per second, time counter continues,...)

I now use a pause variable to fix all this.

Re: freeze_mode = 2 but still move the mouse? [Re: PadMalcom] #230443
10/05/08 15:18
10/05/08 15:18
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
just set the my pointer of the functions you want to pause to nonzero (1 eg.)
Now you can freeze them using freeze_mode = 1, as freeze_mode freezes every function/action with a my pointer which is nonzero.

edit:
this was atleast possible with C-Script, not sure if it still is with Lite-C

Last edited by Xarthor; 10/05/08 15:19.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1