Jump to content

[ HELP ] Receive Pos of dxDrawImage


Recommended Posts

Posted

Store the dxImage position in a variable and just use that variable to get the value.

Please do not PM me with scripting related question nor support, use the forums instead.

Posted

Yes, you can store the positions with setElementData and then get it using getElementData.

Please do not PM me with scripting related question nor support, use the forums instead.

Posted
It would be better to use variables. DX functions don't return elements anyway.

He can pass any other element, such as the player element.

DX functions doesn't need return an element to make that possible.

I didn't told him to store it with setElementData instead of a variable.

Using variables is obviously better and simpler.

Please do not PM me with scripting related question nor support, use the forums instead.

Posted

As far as I know DX Functions don't create any elements, except for a select few. Such as making a shader/render target.

So you'll have to rely on variables.

If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.

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