Jump to content
hridaysabz

CfgCommunicationMenu problem

Recommended Posts

Hello! I'm trying to setup a custom support item. Here's my description.ext entry:

class CfgCommunicationMenu
{
	class Bravo
	{
		text = "Send in Armor";
		expression = "BIS_bravoGo = TRUE";
		icon = "\a3\ui_f\data\map\markers\nato\b_inf.paa";
		removeAfterExpressionCall = 1;
	};
};

And here's my trigger entry:

BIS_bravoGo = true;

Just for good measure, I put a hint "Support deployed" in this On Activation in the trigger. For some reason, the support item shows up in the list, and I can use it, but the trigger will never activate. I'm sure I've messed up a small == or = here, but I switched it around, and still no luck. Ideas?

 

 

Share this post


Link to post
Share on other sites

The usual format for simple true false in a trigger would be just

 

For ture

BIS_bravoGo

 

For false

!BIS_bravoGo  

or

BIS_bravoGo == false

Share this post


Link to post
Share on other sites

You have that code in the Trigger's Condition field, replacing the this that was already there, correct?

 

So Trigger Condition of BIS_BravoGo as f2k sel said.

Share this post


Link to post
Share on other sites

Oh my bad, will give this a shot and get back to you guys. Thanks!

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

×