Hey guys I didn' find anything useful around about that. I want that a task appears in my notebook only on a specific time, for example only when I activate a trigger. Thanks.
Hey guys I didn' find anything useful around about that. I want that a task appears in my notebook only on a specific time, for example only when I activate a trigger. Thanks.
Just add the task as part of the trigger's onAct.
Code:tskExtract = player createSimpleTask["Extract via Littlebird"]; tskExtract setSimpleTaskDescription["Now that you have the pickle, get to the LZ!", "Extraction", "LZ"];
Is it also possible to "hide" a task in your briefing.html and to activate it by trigger?
And what about the marker? because in the task description I put a link to a marker but I want it to appear only when the task is given?
Here's a demo that shows you that. Only one task is given at game start. The marker is on the map but hidden via setMarkerAlpha. Once you're in the car you succeed the first task, get assigned the second task and the marker is revealed.
I don't understand how it works
---------- Post added at 22:52 ---------- Previous post was at 22:49 ----------
I understood that "mrkPark" setMarkerAlpha 1; is the point but i put it in the trigger and I can still seeing the marker appearing when the mission starts
You need to turn it off in the init.sqf or in some unit's init field with this:
In my demo it's done via the init.sqf.Code:"mrkPark" setMarkerAlpha 0;
Resolved thanks