Results 1 to 9 of 9

Thread: Want a task to appear in a specific time

  1. #1

    Want a task to appear in a specific time

    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.

  2. #2
    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"];

  3. #3
    Is it also possible to "hide" a task in your briefing.html and to activate it by trigger?

  4. #4
    Quote Originally Posted by _qoR View Post
    Is it also possible to "hide" a task in your briefing.html and to activate it by trigger?
    Why would you need to hide anything when you can just create them when you want them to show.

  5. #5
    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?

  6. #6
    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.

  7. #7
    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

  8. #8
    You need to turn it off in the init.sqf or in some unit's init field with this:

    Code:
    "mrkPark" setMarkerAlpha 0;
    In my demo it's done via the init.sqf.

  9. #9
    Resolved thanks

Similar Threads

  1. Force AI to use Devices at a specific Time
    By Humvee28 in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 3
    Last Post: Sep 19 2011, 20:02
  2. Show titleRSC/plain for a specific time
    By Himmelsfeuer in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 1
    Last Post: Aug 30 2010, 19:12
  3. Making objects pop up at specific location at specific time
    By Albert Schweitzer in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 6
    Last Post: Aug 29 2010, 10:59
  4. Set Task to specific group
    By =SF=Hyrax in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 5
    Last Post: Aug 26 2010, 05:37
  5. How to spawn unit at specific time ?
    By Wiggum in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 13
    Last Post: Mar 2 2010, 21:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •