ADHS Posted November 7, 2022 Posted November 7, 2022 Hello. Is something change ? Recently i've noticed that ME, once i am caling this function: function grouACT(dcsGROUP) local group = Group.getByName(dcsGROUP) trigger.action.activateGroup(group) end is giving me an error and no groups are getting active. But, in MP is working fine with no errors and all the LATE ACTIVATION groups are activating. Any help ? Thank you. PS: I remember there was a similar command in MIST... Democracy was already invented, while Scrat was eating oak fruits.
Solution jackmckay Posted November 7, 2022 Solution Posted November 7, 2022 (edited) Got some similar issues on group chain spawn. Tried with ME trigger check as on start time delayed GROUP ALIVE (A) with GROUP ACTIVATE (B) action, and the result is that action is being done at mission start(!) regardless if late activation is set on GROUP ACTIVATE (B) units. Tried with script trigger.action.activateGroup('B') and there comes the error - method activate as nil value. Something is missing or wrong definitely but the triggers in ME are suspicious. Using MIST as framework. This script works though Group.activate(Group.getByName(groupName)) Edited November 7, 2022 by jackmckay 1
ADHS Posted November 8, 2022 Author Posted November 8, 2022 (edited) 18 hours ago, jackmckay said: Using MIST as framework. This script works though Group.activate(Group.getByName(groupName)) jackmckay Thank you very much for your answer in details, my friend. function grouACT(dcsGROUP) Group.activate(Group.getByName(dcsGROUP)) end Works PERFECT in MP (i don't have random nil errors) but still ME: puls ldown a hudge list full of NILs. Thank you. Edited November 8, 2022 by ADHS 1 Democracy was already invented, while Scrat was eating oak fruits.
Recommended Posts