You have to assign which unit ( at creation usually ) is allocated to that cell. And then probably some code to tell the game to show it if that unit exists and hide if not.
The built in mouseover functionality then checks to see if there is a unit linked to the frame and reports that ( I assume this is the case ) .
At least that seems to be the case when I use it in my unit frame code.
|