Chaosy
Tutorial Reviewer
- Joined
- Jun 9, 2011
- Messages
- 13,219
Hello, I want to display a floating text if a certain unit is visible, with other words if the unit is within camera range.
My only idea was to create a temp region and calculate the size of it depending on the current camera settings. But that seems both buggy and advanced, any other ideas?
edit1: a second idea would be to calculate the distance between the unit and the center of the camera, however this wont work since my screen is not a square.
My only idea was to create a temp region and calculate the size of it depending on the current camera settings. But that seems both buggy and advanced, any other ideas?
edit1: a second idea would be to calculate the distance between the unit and the center of the camera, however this wont work since my screen is not a square.