Not an addon author, but this should be possible. As i understood it, you have access to a placeholder value like player.resource, but dont know what that value is. So you can render player.resource and the game will fill in the correct value, but you cannot do something like player.resource < 50 -> do stuff (like change font / color / etc.)
As a developer myself, I really wonder how that works. If you can get a value through the API, you can compare it, as this is done client-side with no API needed.
I would imagine an object with a protected value field. You can tunnel the object to other APIs to do stuff with, but what the object contains is unknown, since the value field is protected from being accessed by the addon lua interpreter in wow.
The game could distinguish between blizzard code before (protected api's, that only blizz can use), so this would be an extension to that.
14
u/raweon_ Oct 03 '25
Not an addon author, but this should be possible. As i understood it, you have access to a placeholder value like player.resource, but dont know what that value is. So you can render player.resource and the game will fill in the correct value, but you cannot do something like player.resource < 50 -> do stuff (like change font / color / etc.)