You lost me, GideonG D:
'with an instance variable set as a string' ....
Uhm.. Haha whats a string xD. Looked it up, found no definition for solely string, just a lot of other definitions using it!
Edit: Nevermind, found it under expressions, was looking under system expressions -
'Text is also known as strings in programming, and Construct 2 also sometimes uses this naming convention.
Text in expressions should be surrounded by double-quotes, e.g. "Hello" '
Anyway uhh. Thanks guys, I was kind of dumb and hastey. - All I had to do was add another condition to pick the nearest sprite. (Thanks RayKi, I couldn't find "if overlapping object" so used this instead, thanks for the idea)
--System - On start of layout
Sprite - Spawn text on layer x imagepoint y
-- Sub event -- System for each sprite --
---------------------text - pick nearest to (sprite.x, sprite.y)
---Action----
----Set text to sprite.units
I still wish I could understand what you were trying to suggest Gideon D: - reading these things are hard, I think I'm more of a visual learner (images and videos, not so much text) Heehee probably why I failed math twice -- thanks again for the help guys