Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
4 registered members (fogman, Grant, AndrewAMD, juanex), 989 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 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 | 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