Jump to content
Sign in to follow this  
dale0404

TriggerActivated problem

Recommended Posts

Peeps, in a mission that I am making I have the following trigger:

Activation: Opfor Not Present

Condition: TriggerActivated t1 && TriggerActivated t2

Type End#1

This is my briefing HTML:

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">

<title>Title</title>
</head>

<body bgcolor="#FFFFFF">
<! -----DEBRIEFING----->
<hr>
<br>
<h2><a name="Debriefing:End1">Victory!</a></h2>
<br>
<p>
<! ------victory------>
All the enemy are now dead, wow congratulations, go grab some shuteye, we move in 4 hours...
</p>
<br>

<hr>
<br>
<h2><a name="Debriefing:End2">Defeat!</a></h2>
<br>
<p>
<! ------KIA------>
You and your team died, your not very good are you?
</p>
<br>

<! -----DEBRIEFING END----->

</body>
</html>

The trigger isnt firing when all the Opfor are dead and the t1 and t2 triggers have also fired. I have made sure the t1 and t2 triggers fire because they create enemy units.

The trigger works fine without TriggerActivated t1 && TriggerActivated t2 in the condition box.

Could someone explain what I am doing wrong please?

---------- Post added at 09:51 PM ---------- Previous post was at 08:37 PM ----------

Gents, any ideas about this?

I dont usually bump my own threads but this is doing my head in and its a real show stopper.

Cheers

Dale

Share this post


Link to post
Share on other sites

If you don't have "this" in your condition, the OPFOR Not Present stuff will be ignored.

Share this post


Link to post
Share on other sites

Yep, I realised that mate and this what I have: this && triggeractivated trig5 && triggerActivated trig6

I have deactivated the other triggers for the time being. Also in the activation boxes of those triggers is the following:

call { grp = [getMarkerPos "do1", EAST, (configFile >> "CfgGroups" >> "East" >> "BIS_TK_INS" >> "Infantry" >> "TK_INS_Group")] call BIS_fnc_spawnGroup; [grp, getmarkerPos "d", 50] call bis_fnc_taskAttack};call { grp = [getMarkerPos "do2", EAST, (configFile >> "CfgGroups" >> "East" >> "BIS_TK_INS" >> "Motorized" >> "TK_INS_MotorizedPatrolBTR40")] call BIS_fnc_spawnGroup; [grp, getmarkerPos "d", 50] call bis_fnc_taskAttack};

---------- Post added at 11:12 PM ---------- Previous post was at 10:41 PM ----------

Still no joy, the trigger just isnt firing for some reason :(

Share this post


Link to post
Share on other sites

TriggerActivated t1 && TriggerActivated t2 placing that in a triggers cond and having 2 triggers named t2 and t1 worked perfectly for me when both triggers had fired so did the third. Not much help I know. I didn't' use this in front TriggerActivated t1 && TriggerActivated t2 as the third trigger was a simple true/false situation and didn't need the other conditions.

Share this post


Link to post
Share on other sites

Thanks to Kylania its fixed!

I had to change the t1 and t2 etc triggers to 'true' instead of 'this'. I would have never have thought of that, Kylania your a true star mate, ty.

Share this post


Link to post
Share on other sites

If t1 and t2 have their condition set to "true," then they are being activated soon after the mission starts and aren't actually checking for anything. You may as well remove them entirely.

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  

×