Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Akow), 1,403 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
EMask #290427
09/18/09 22:55
09/18/09 22:55
Joined: Jun 2008
Posts: 428
Rasch Offline OP
Senior Member
Rasch  Offline OP
Senior Member

Joined: Jun 2008
Posts: 428
Hi there. How do i deactivatte emasks?

lets say at the beginning i´m writing:

my.emask = ENABLE_SCAN;

and if the unit dies it should instantly stop to have ENABLE_SCAN activated.

i used

my.emask != ENABLE_SCAN; but it downt work. Sorry i´m tryin to learn lite_c.. c_script wont be helpful anymore T.T

Re: EMask [Re: Rasch] #290431
09/18/09 23:16
09/18/09 23:16
Joined: Sep 2009
Posts: 12
Z
zero_karma Offline
Newbie
zero_karma  Offline
Newbie
Z

Joined: Sep 2009
Posts: 12
I think its: reset(my,ENABLE_SCAN);

Probably not... Try it though.

Re: EMask [Re: zero_karma] #290434
09/18/09 23:22
09/18/09 23:22
Joined: Jun 2008
Posts: 428
Rasch Offline OP
Senior Member
Rasch  Offline OP
Senior Member

Joined: Jun 2008
Posts: 428
Seems to work and now i found another better way. Thanks laugh

Re: EMask [Re: Rasch] #290437
09/18/09 23:35
09/18/09 23:35
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
The "correct" way, according to the manual, would be
my.emask &= ~ENABLE_SCAN;


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial

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

Gamestudio download | chip programmers | 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