Jump to content
Sign in to follow this  
falconx1

parse text help

Recommended Posts

i cant get the below code to accepts the variables

_w = "7";
_n= "0.25";

hintSilent parseText format["<t size='1.1' color='#FFCC33' align='left'>AI Skill:%1</t>, _w<br/><t size='1.1' color='#FFCC33' align='left'>Enemies left:</t>%2 ,_n"];

Share this post


Link to post
Share on other sites
i cant get the below code to accepts the variables

_w = "7";
_n= "0.25";

hintSilent parseText format["<t size='1.1' color='#FFCC33' align='left'>AI Skill:%1</t>, _w<br/><t size='1.1' color='#FFCC33' align='left'>Enemies left:</t>%2 ,_n"];

You've got the last quote in the wrong spot

hintSilent parseText format["<t size='1.1' color='#FFCC33' align='left'>AI Skill:%1</t>, _w<br/><t size='1.1' color='#FFCC33' align='left'>Enemies left:</t>%2 ,_n"];

Try this

hintSilent parseText format["<t size='1.1' color='#FFCC33' align='left'>AI Skill:%1</t>, _w<br/><t size='1.1' color='#FFCC33' align='left'>Enemies left:</t>%2" ,_n];

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×