Hiding Posted February 6 Share Posted February 6 I would like to ask that is there any way for, let's say an arrow marker, to be visible behind another object? So that it's always visible, even if there's another object in front of it?? 1 Link to comment
FlorinSzasz Posted February 7 Share Posted February 7 20 hours ago, Hiding said: I would like to ask that is there any way for, let's say an arrow marker, to be visible behind another object? So that it's always visible, even if there's another object in front of it?? From what i know a marker is always visible. A marker is not visible if u set the alpha to 0 or you make the marker visible to a certain element or you change the marker dimension. Link to comment
Hiding Posted February 7 Author Share Posted February 7 I know, my question was whether if there's an object in front of it, you can't see it, because that object obscures it. I want it to be visible even if there's an object front of it that obscures it. Link to comment
FlorinSzasz Posted February 7 Share Posted February 7 (edited) 1 hour ago, Hiding said: I know, my question was whether if there's an object in front of it, you can't see it, because that object obscures it. I want it to be visible even if there's an object front of it that obscures it. Well if you have a checkpoint marker and there is not a big building around you will see a big part of the marker but if you use any other marker your object alpha should be as low as possible to see the marker. Edited February 7 by FlorinSzasz Link to comment
Hiding Posted February 7 Author Share Posted February 7 Thanks for your answer, I know these thinks Let me write it down again, my question concerns how the arrow marker can be visible behind an object, the objects has 255 alpha, meaning it's not transparent, so I want my arrow marker to be visible even if there's an object front of it that obscures it. Link to comment
Moderators IIYAMA Posted February 9 Moderators Share Posted February 9 On 07/02/2024 at 21:24, Hiding said: so I want my arrow marker to be visible even if there's an object front of it that obscures it. You could try to use the dxDrawPrimitive3D function to mimic the marker and set postGUI to true, just keep in mind the downsides of postGUI. © MTA wiki 1 Link to comment
Hiding Posted February 10 Author Share Posted February 10 11 hours ago, IIYAMA said: You could try to use the dxDrawPrimitive3D function to mimic the marker and set postGUI to true, just keep in mind the downsides of postGUI. © MTA wiki Ah, thank you for your response, I think I'll stick with the marker not being visible behind the object. 2 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now