Jump to content

eXpouk

Member
  • Content Count

    135
  • Joined

  • Last visited

  • Medals

  • Medals

Posts posted by eXpouk


  1. I had this working yesterday, now I open up the editor today and for some reason all my patrols stand there and do nothing... The script is being called because if I delete the UPS file then it shows an error when I preview.

    Anyone got any ideas why its suddenly stopped working? :(


  2. Cheers Shuko!

    ---------- Post added at 08:48 ---------- Previous post was at 08:20 ----------

    Is there a way of making it check whether two or more tasks are complete using

    "Task1" call SHK_Taskmaster_isCompleted
    

    I've tried "Task1","Task2" and ["Task1","Task2"] but neither has worked. Basically I want it to check if Task 1 and Task 2 are complete before assigning Task 3.


  3. I cant figure out how to get the first task I create in the init as the assigned one and not the last one (it automatically assigns the last created task). Anyone help?

    Here's what it looks like atm:

    //Tasks and Briefing
    [[
     ["Task2","Destory the Comms Tower","Assault the military base and destroy the Comms Tower located <marker name = comms>here</marker>.",true],
     ["Task1","Destroy the Solar Towers","Destroy the Solar Towers located <marker name = tower1>here</marker> and <marker name = tower2>here</marker>.",true]
    ],[
     ["Note1","Hello West",WEST],
     ["Note2","Hello East",EAST],
     ["Credits","Made by: Shuko of LDD Kyllikki<br />www.kyllikki.fi"]
    ]] call compile preprocessfilelinenumbers "shk_taskmaster.sqf";
    

    Also the tasks dont appear in the briefing, they only show up once in-game, is there any way around that as well? Finally, I'm trying to use triggers to update a tasks state/create new tasks etc. Is this correct?

    Thanks

×