Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by jcl. 02/12/26 14:05
MarginCost discrepancy?
by jcl. 02/12/26 14:02
Hedge on FXCM, 4 or 5?
by qin. 02/11/26 14:12
CMC MT4 CFD vs FX Active - what's better?
by mayarik. 02/11/26 11:00
print a "still alive" log
by qin. 02/10/26 12:16
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 7,787 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon, mayarik
19198 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