Jump to content

Make arrow marker visible


Hiding

Recommended Posts

Posted

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??

  • Like 1
Posted
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.

Posted

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.

Posted (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 by FlorinSzasz
Posted

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.

  • Moderators
Posted
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.

Primitive.png

© MTA wiki

 

  • Like 1
Posted
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.

Primitive.png

© MTA wiki

 

Ah, thank you for your response, I think I'll stick with the marker not being visible behind the object. :D

  • Like 2

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...