atsmith6 Posted February 2, 2014 Posted February 2, 2014 Hi I've been banging my head against this for hours and am now solidly stuck :( What I'm trying to achieve is the following: I have a group that I use as a template: Infantry - 3 triggered actions: 1 Set frequency 40.5 FM 2 Transmit Message(ELT-Tone, '', on) 3 Stop Transmitting using MIST, I clone a troop from an existing group: MI_active_group = mist.cloneInZone('InfTemplate', 'InfSpawnZone', true, 5) then later I set an FM radio frequency and start transmitting a homing signal for a Huey to home in on: local group = Group.getByName(MI_active_group.name) trigger.action.pushAITask(group, 1) // Set frequency 40.5 FM trigger.action.pushAITask(group, 2) // Transmit Message(ELT-Tone, '', on) problem is that the cloned group doesn't seem to get the original group's triggered actions. Also, I can't find how to add these actions as new actions to the cloned group either. I've looked at part 1 and part 2 of the scripting guide as well as many missions created by other scripters and have hit a brick wall Does anyone know how to either add new AI tasks (specifically the three mentioned above) to a cloned group? Any advice would be highly appreciated Many thanks in advance
Recommended Posts