Jump to content
Sign in to follow this  
piedebeouf

help me a trigger

Recommended Posts

Hello,

on a mission I found trigger with this code on act :tskclearandsecuredorida settaskstate "succeeded";

taskhint ["Good Work! Dorida is clear and secured !", [0,1,0,1], "taskdone"];

tskdestroythemilitarycargohouse = player createsimpletask ["Destroy the Military Cargo house"];

tskdestroythemilitarycargohouse setsimpletaskdescription ["Destroy the Military Cargo House","Destroy the Military Cargo House","Destroy the Military Cargo House"];

tskdestroythemilitarycargohouse setsimpletaskdestination (getmarkerpos "objective3");

tskdestroythemilitarycargohouse settaskstate "assigned"; player setcurrenttask tskdestroythemilitarycargohouse;

taskhint ["Destroy the Military Cargo House near Pyrgos !", [1,1,1,1], "taskcurrent"];

player setcurrenttask destroythemilitarycargohouse; "objective2" setMarkerColor "ColorGreen";

But with the new update the code didn't work . have you a tip or code for this?

thanks a lot

Edited by piedebeouf

Share this post


Link to post
Share on other sites

You could just use the intel modules for that. 1st part. Its kinda hard to read all jumbled up. Let me ask you something. What are you trying to accomplish here?

Share this post


Link to post
Share on other sites
Hello,

on a mission I found trigger with this code on act :tskclearandsecuredorida settaskstate "succeeded";

taskhint ["Good Work! Dorida is clear and secured !", [0,1,0,1], "taskdone"];

tskdestroythemilitarycargohouse = player createsimpletask ["Destroy the Military Cargo house"];

tskdestroythemilitarycargohouse setsimpletaskdescription ["Destroy the Military Cargo House","Destroy the Military Cargo House","Destroy the Military Cargo House"];

tskdestroythemilitarycargohouse setsimpletaskdestination (getmarkerpos "objective3");

tskdestroythemilitarycargohouse settaskstate "assigned"; player setcurrenttask tskdestroythemilitarycargohouse;

taskhint ["Destroy the Military Cargo House near Pyrgos !", [1,1,1,1], "taskcurrent"];

player setcurrenttask destroythemilitarycargohouse; "objective2" setMarkerColor "ColorGreen";

But with the new update the code didn't work . have you a tip or code for this?

thanks a lot

If you're expecting a notification to show up that code won't do it. That looks like it was made for ARMA 2. What are you expecting from this code maybe I can help.

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  

×