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
2 registered members (Grant, AndrewAMD), 911 guests, and 9 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
my.emask confussion #219115
08/01/08 05:29
08/01/08 05:29
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Nidhogg Offline OP
Serious User
Nidhogg  Offline OP
Serious User

Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Ok, I've seen different version of how my.emask is used..
1: my.emask |= ENABLE_ENTITY | ENABLE_BLOCK
2: my.emask |= (ENABLE_ENTITY | ENABLE_BLOCK) as stated in the manual

3: my.emask = ENABLE_ENTITY | ENABLE_BLOCK
4: my.emask = ENABLE_ENTITY + ENABLE_BLOCK

I've tried them all but for the life of me can't get my
event trap to work..

Please help..

So which one is the correct way?


Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus
Re: my.emask confussion [Re: Nidhogg] #219315
08/01/08 22:44
08/01/08 22:44
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Nidhogg Offline OP
Serious User
Nidhogg  Offline OP
Serious User

Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Must be another very hard question...


Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus
Re: my.emask confussion [Re: Nidhogg] #219318
08/01/08 22:53
08/01/08 22:53
Joined: Jan 2008
Posts: 1,580
Blade280891 Offline
Serious User
Blade280891  Offline
Serious User

Joined: Jan 2008
Posts: 1,580
i use no.1 and it works fine , i would assume it is your other code that isnt working


My Avatar Randomness V2

"Someone get me to the doctor, and someone call the nurse
And someone buy me roses, and someone burned the church"
Re: my.emask confussion [Re: Nidhogg] #219320
08/01/08 22:54
08/01/08 22:54
Joined: Mar 2003
Posts: 3,010
analysis paralysis
NITRO777 Offline
Expert
NITRO777  Offline
Expert

Joined: Mar 2003
Posts: 3,010
analysis paralysis
Code:
	my.emask |= (ENABLE_BLOCK |ENABLE_ENTITY|IGNORE_PASSABLE ); // make entity sensitive for block and entity collision
	my.event = bounce_event; 


Something like this should work; did you add semi-colon?


Re: my.emask confussion [Re: NITRO777] #219326
08/02/08 01:32
08/02/08 01:32
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Nidhogg Offline OP
Serious User
Nidhogg  Offline OP
Serious User

Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Thnaks people, I got it working now. Added a beep in the event to
let me know if or when it was triggered and that helped out.

Turned out I Forgot to add a return after the routine event in the event_trap.

Oh and I used no.2 as stated in the manual...

Thanks again....


Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus

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