I want to use one time trigger to spawn multiple groups in an [ACTION] spawn
Is there a way you can spawn multiple actions when the time trigger G17 is active?
[Trigger]
G17 TTime 60
[Action]
action17 ASpawnGroup 1 BoB_LW_KuFlGr_706.01
action18 ASpawnGroup 1 BoB_LW_KuFlGr_706.04
action19 ASpawnGroup 1 BoB_LW_KuFlGr_706.02
Code:
base.OnTrigger(missionNumber, shortName, active);
if ("G17".Equals(shortName) && active)
{
AiAction action = GamePlay.gpGetAction("action17");
if (action != null)
{
action.Do();
}