Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by dr_panther. 05/18/24 11:01
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (7th_zorro, dr_panther), 724 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
mouse_ent behind translucent entities #401997
05/28/12 14:24
05/28/12 14:24
Joined: Aug 2011
Posts: 133
Germany, Supergeheimes Hinter-...
G
gameplan Offline OP
Member
gameplan  Offline OP
Member
G

Joined: Aug 2011
Posts: 133
Germany, Supergeheimes Hinter-...
Hi,

i need to use mouse_ent for entities covered by transparent/translucent entites. The flag UNTOUCHABLE just deaktivates mouse_ent on the covering entity, but i need to click on the visible entity behind.

I dont have any clue how to get this work. Does anyone have an idea?

Thanks

Last edited by gameplan; 05/28/12 15:27.

Version: A8 free
OS: Windows 10
Re: mouse_ent behind translucent entities [Re: gameplan] #402015
05/28/12 20:16
05/28/12 20:16
Joined: May 2007
Posts: 2,043
Germany
Lukas Offline

Programmer
Lukas  Offline

Programmer

Joined: May 2007
Posts: 2,043
Germany
Originally Posted By: Manual
Makes the entity 'invisible' for the mouse, and thus allows clicking on objects behind this entity.


So the UNTOUCHABLE flag should suffice, to make entities behind that entity clickable. Maybe you forgot an invisible or translucent entity inbetween? Also, make sure you are using flags2 instead of flags.

Re: mouse_ent behind translucent entities [Re: Lukas] #402022
05/28/12 20:43
05/28/12 20:43
Joined: Aug 2011
Posts: 133
Germany, Supergeheimes Hinter-...
G
gameplan Offline OP
Member
gameplan  Offline OP
Member
G

Joined: Aug 2011
Posts: 133
Germany, Supergeheimes Hinter-...
Thank you. Now i am useing "ent.flags |= FLAG2; ent.flags2 |= UNTOUCHABLE;" instaed of "set(ent,UNTOUCHALBE);" and it works. But where is the difference? The second notation seems easy and better to use.

Last edited by gameplan; 05/28/12 20:46.

Version: A8 free
OS: Windows 10

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