Binary Posted January 24, 2018 Posted January 24, 2018 Hi, I have the following setup. A Bandit-Group with the task "Attack Group" (with the task's group option being set to the Player's group). This works so far. However, if I activate "Late Activation" and activate the group through LUA, the task "Attack Group" got lost (group:getController():hasTask() is false). Strangely, if I setup a trigger in the editor with the action "GROUP ACTIVATE" it works perfectly fine and the task is not lost. So why is the task removed when doing the following? local group = Group.getByName('Bandit') group:activate() -- same issue with: trigger.action.activateGroup(group) I've attached an example mission. In this mission there are two F10 Radio options. One for activating the bandit group with the trigger action "GROUP ACTIVATE" and another one with "DO SCRIPT" (which executes the code above). When using the one with the trigger action, it works - the bandit group will fly to the player upon activation. However, with the LUA action, it does not work - the bandit group will RTB immediately after activation. Is this a bug or am I missing something? Thanks EDIT: Example mission is on Normandy. I could also create an example on a non-payed map.Late Activation Task Issue Test.miz Author of Scratchpad, DATIS, and maintainer of DCS-gRPC.
Recommended Posts