Jump to content

dxshader over lapping


Recommended Posts

  • Moderators

Adjust the handler timing:

 

Quote

 

Optional Arguments

  • getPropagated: A boolean representing whether the handler will be triggered if the event was propagated down or up the element tree (starting from the source), and not triggered directly on attachedTo (that is, handlers attached with this argument set to false will only be triggered if source == this).
  • priority : A string representing the trigger order priority relative to other event handlers of the same name. Possible values are:
    • "high"
    • "normal"
    • "low"

It is also possible to add finer priority control by appending a positive or negative number to the priority string. For example (in priority order for reference): "high+4" "high" "high-1" "normal-6" "normal-7" "low+1" "low" "low-1" Important note: Anything bound to a specific element will be run before other handlers that are bound to something higher in the element tree (like root) This means that "high+10" bound to root won't trigger before "normal" bound directly to an element.

 

https://wiki.multitheftauto.com/wiki/AddEventHandler

 


OR (if not working)


 

Pick a different processing moment:

caption

https://wiki.multitheftauto.com/wiki/Game_Processing_Order

 

  1. https://wiki.multitheftauto.com/wiki/OnClientPreRender
  2. https://wiki.multitheftauto.com/wiki/OnClientHUDRender
  3. https://wiki.multitheftauto.com/wiki/OnClientRender
Link to comment

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