I'm currently attempting to make a trigger set units that are present in the trigger to be civilians, and when they are not in the trigger to set them to blufor as well as to be repeatable. This is what i currently have however it isn't working correctly and I know that I'm doing something easy that must be super simple to fix but I'm at a loss of what it may be.
ifPresent true
then
{
_newGroup = createGroup CIVILIAN;
[player] joinSilent _newGroup;
hint "You are a prisoner."
}
else
{
_newGroup = createGroup blufor;
[player] joinSilent _newGroup;
hint "You are escaping."
}