I've setup a basic script where if the party enters a trigger, a combat will start.

Code
IF
CharacterEnteredTrigger(_player,TRIGGER_HIB_ZombieAmbush)
THEN
TriggerUnregisterForPlayers(TRIGGER_HIB_ZombieAmbush);
CharacterAppear(CHARACTER_HIB_ZombieAmbush_1,1);
CharacterAppear(CHARACTER_HIB_ZombieAmbush_2,1);
CharacterAppear(CHARACTER_HIB_ZombieAmbush_3,1);
CharacterAppear(CHARACTER_HIB_ZombieAmbush_4,1);


As you can see I used a generic variable _player. The issue with this script is that if more the one player enters the trigger, it repeats the commands CharacterAppear(). This usually happens when the party is linked and multiple characters enters the trigger almost simultaneously.

Any solutions guyz? :x