how to create a C2ISTAR task via custom script

  1. 4 weeks ago
    Edited 4 weeks ago by xetra11

    Hey everyone!

    I would like to have an NPC applied with actions to ask for tasks - like a commander giving orders.
    Therefore I still would like to use ALiVEs tasks because they are nicely dynamic.
    I looked into the https://github.com/ALiVEOS/ALiVE.OS/tree/master/addons/mil_c2istar package.

    I found this script for instance I'd like to try out

    ALIVE_fnc_taskInsurgencyPatrol

    Sadly I cannot manage to call it properly. Looking for calls of this function with the whole of ALiVE.OS did not help either since no other function is calling it. Happening through magic it seems.

    So my goal is it to have a insurgency patrol task generated just by using a custom action. Maybe somebody can show me how the function is called properly. The code is lacking of documentation.

    I tried ALiVE_fnc_taskRequest but wasn't to get it working. I used the mentioned example in the documentation of the function

    ["WEST","BLU_F","CaptureObjective",["OPF-entity_14"],"OPCOM",true] call ALiVE_fnc_taskRequest;
 

or Sign Up to reply!