Hi! I was just wondering how you would go about changing a label's font at runtime? And I mean an AC Label. I'd like to be able to change the font at runtime for different effects (like for hotspots, if its something creepy, put a creepy looking font for the hotspot name, or if its a whimsical object or place, to put an alert message with a cheerful, comical font, etc.)
Anyways, for something as simple as an alert text, I'd really like to stick to using AC's labels if possible. So if anyone can advice me on how to do this, I'll greatly appreciate it.
Comments
AC.PlayerMenus.GetElementWithName ("MyMenu", "MyElement");
The MenuElement class, from which all elements derive, has a font variable that you can change.