Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 18,561 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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