Thanks; but it doesn't work.
I calld the group that needs to switch "aggressors"; i edited your script to;
SwitchWaypoint = {
id = 'SwitchWaypoint',
params = {
fromWaypointIndex = 1,
goToWaypointIndex = 2,
}
}
Group.getByName('aggressors'):getController():setCommand(SwitchWaypoint)
Conditions are ok, a i also set a text display when trigger is activated; text gets displayed, but the agressors do not change course.