I can only modify player property, check if player property has changed or check how much the player has mined or has left to mine (which is obsolete for a tower defense map).
However, I still cant find any way to get current resources for a player.
I'm trying to create my own mineral display because the default one isn't movable.
This of course returns an integer value, so to set your dialog text, you need to convert the integer to text via "Conversion - Convert Integer to Text" first.
I've tried for an hour now and I just cant find it, or if it even exists.
Is there a way to return the current number of minerals a player has?
Moved to map development forum
Player - Player Property
I can only modify player property, check if player property has changed or check how much the player has mined or has left to mine (which is obsolete for a tower defense map). However, I still cant find any way to get current resources for a player. I'm trying to create my own mineral display because the default one isn't movable.
Works fine for me:
This of course returns an integer value, so to set your dialog text, you need to convert the integer to text via "Conversion - Convert Integer to Text" first.