mouse_ent behind translucent entities

Posted By: gameplan

mouse_ent behind translucent entities - 05/28/12 14:24

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
Posted By: Lukas

Re: mouse_ent behind translucent entities - 05/28/12 20:16

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.
Posted By: gameplan

Re: mouse_ent behind translucent entities - 05/28/12 20:43

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.
© 2024 lite-C Forums