Jump to content
Sign in to follow this  
theend3r

How to use "<" in an advanced hint?

Recommended Posts

So I have

class CfgHints
{
	class Navigation
	{
		displayName = "something";
		class something
		{
			displayName = "something";
			displayNameShort = "something";
			description = "blah blah %11 and %12";
			arguments[] = {
			{"<"},
			{">"}
			};
			noImage = true;
		};
	};
};

which I then call with

[["Navigation", "something"]] call BIS_fnc_advHint;

It works well but the problem is that the result is:

blah blah {and %12} <- in green

which means that the < was probably parsed and the game though I wanted to do something like <br/>, which I didn't. How can I pass < to the hint? (I tried {"'<'"} with no success.)

To illustrate what I'm doing, I wrote a satellite view PiP script and use the < and > keys for zoom.

Share this post


Link to post
Share on other sites

Would using the HTML work? 

  • Like 2

Share this post


Link to post
Share on other sites

Would using the HTML work? 

 

Also, >

 

I only just had to work that one out myself.

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  

×