Hello. Continuing with the scripting, and surprisingly I haven't hit any massive walls until now.
The code i'm using is below:
//HealthBarSettextstylelibNtve_gf_SetDialogItemTooltip(HealthBar_p1,"This is your Health. Without it, you die. Big surprise.",PlayerGroupSingle(1));DialogControlSetPropertyAsString(HealthBar_p1,c_triggerControlPropertyStyle,PlayerGroupSingle(1),"PlanetPanelTitle");DialogControlSetPropertyAsString(HealthBar_p1,c_triggerControlPropertyColor,PlayerGroupSingle(1),"ColorRed");//////////////////////DialogSetVisible(Health_HuD_p1,PlayerGroupSingle(1),true);
I totally understand if the color property is wrong, but the strange thing is that it's compiling fine, and none of it's popping up as errored. I've copied the code directly from the G interface i was looking at.
What happens is When I load it up, I see text, but no modification to it at all.
If anyone can suggest/point me in the right direction it's greatly appreciated.
This is because you are trying to set the style to the dialog control HealthBar_p1, not to its tooltip. For tooltip formating, you will need to use tags within the text, such as
"<s val=\"PlanetPanelTitle\"><c val=\"ff0000\">This is your Health. Without it, you die. Big surprise.</c></s>"
Hello. Continuing with the scripting, and surprisingly I haven't hit any massive walls until now.
The code i'm using is below:
I totally understand if the color property is wrong, but the strange thing is that it's compiling fine, and none of it's popping up as errored. I've copied the code directly from the G interface i was looking at.
What happens is When I load it up, I see text, but no modification to it at all.
If anyone can suggest/point me in the right direction it's greatly appreciated.
This is because you are trying to set the style to the dialog control HealthBar_p1, not to its tooltip. For tooltip formating, you will need to use tags within the text, such as
Go play Antioch Chronicles Remastered!
Also, coming soon, Antioch Episode 3: Thoughts in Chaos!
Dont like mapster's ugly white? Try Mapster's Classic Skin!