• We are currently performing site maintenance, parts of civfanatics are currently offline, but will come back online in the coming days. For more updates please see here.

Controls References

Lynxbrutal

Chieftain
Joined
May 19, 2015
Messages
17
So, while attempting to make changes to the plot tooltip (when mousing over hexes), it references something called control (specifically control.text(something)). What is this object and where can I access it, if at all? If I can't access it, is there any sort of information on it which I can use to find its methods or...?
 
look at the EUI (Enhanced User Interface) mod for code sample of reworking the plot mouse-over tooltips. They do a lot of this sort of thing in that mod. Even though the mod is implimented as a 'fake' DLC, the lua portions should be of interest / value. EUI has a thread for downloading links and etc. either in the ModPacks or the Mod Components sub-forum (I can't remember which it is at the moment).
 
I guess I'll look at it tomorrow. All I can see when I close my eyes now is scolling lua and C++.
 
Back
Top Bottom