Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 02/21/26 19:15
Camera always moves upwards?
by clonman. 02/21/26 09:29
Zorro version 3.0 prerelease!
by TipmyPip. 02/20/26 13:22
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 6,637 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 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