Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by jcl. 04/24/26 17:48
ZorroGPT
by TipmyPip. 04/23/26 14:23
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 4,379 guests, and 15 spiders.
Key: Admin, Global Mod, Mod
Newest Members
valino, juergenwue, VladMak, Geir, ondrej
19209 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Why my.emask not working #319584
04/15/10 22:27
04/15/10 22:27
Joined: Jul 2004
Posts: 785
Serbia
Iglarion Offline OP
User
Iglarion  Offline OP
User

Joined: Jul 2004
Posts: 785
Serbia
I use Game Studio A7.07.6 Commercial and I have a problem that every time I got an error when running my code if I use:

my.emask | = (ENABLE_BLOCK | ENABLE_IMPACT | ENABLE_ENTITY);

"Parameter unknown emask parameter"


Re: Why my.emask not working [Re: Iglarion] #319585
04/15/10 22:39
04/15/10 22:39
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Its, because in c-script you write it like this:

my.ENABLE_BLOCK = ON; // make entity sensitive for block collision
my.ENABLE_ENTITY = ON; // make entity sensitive for entity collision

Look for the examples in the manual about "event". There are two separate examples because of that.

Re: Why my.emask not working [Re: Pappenheimer] #319587
04/15/10 23:00
04/15/10 23:00
Joined: Jul 2004
Posts: 785
Serbia
Iglarion Offline OP
User
Iglarion  Offline OP
User

Joined: Jul 2004
Posts: 785
Serbia
Thanks Pappenheimer,
funny thing is that so far I have not noticed that the e.mask is lite-c. I feel like I'm a beginner blush .

I converted the whole code in c-script and is now working.

Thanks for help.


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