gagi2 50 Posted June 15, 2019 hey there.... a short question about "how to fuck around with triggers" for our exile server i wanted to split chernarus in half for pvp zone and pve zone... and want to get the players a message when they enter the red zone or leave it.... now when one player enters... all players get the message... not only the one who enters _ZoneTrigger = createTrigger ["EmptyDetector", [3500,295.67999,8200], false]; _ZoneTrigger setTriggerActivation ["ANYPLAYER", "PRESENT", true]; _ZoneTrigger setTriggerArea [3500, 8200, 0, true, 500]; _ZoneTrigger setTriggerStatements [ "this", "['ErrorTitleAndText', ['PVP-Zone', 'Du bist nun in der PVP-Zone! Feuer Frei!!']] call ExileClient_gui_toaster_addTemplateToast;", "['SuccessTitleAndText', ['PVE-Zone', 'Du bist nun in der PVE-Zone! Pass auf worauf du schiesst!!']] call ExileClient_gui_toaster_addTemplateToast;" ]; ideas? also i set the trigger to LOCAL with the false in the first line... where true would be global... at least thats what your wiki says... Share this post Link to post Share on other sites
Mr H. 400 Posted June 15, 2019 _trg setTriggerActivation ["VEHICLE", "PRESENT", true]; _trg triggerAttachVehicle [player]; 1 Share this post Link to post Share on other sites
Mr H. 400 Posted June 15, 2019 Sorry I can't elaborate I m on my phone Share this post Link to post Share on other sites
pierremgi 4739 Posted June 16, 2019 _ZoneTrigger = createTrigger ["EmptyDetector", [3500,295.67999,8200], false]; _ZoneTrigger setTriggerActivation ["ANYPLAYER", "PRESENT", true]; // or what you want (not used) _ZoneTrigger setTriggerArea [3500, 8200, 0, true, 500]; _ZoneTrigger setTriggerStatements [ "player inArea thisTrigger", "['ErrorTitleAndText', ['PVP-Zone', 'Du bist nun in der PVP-Zone! Feuer Frei!!']] call ExileClient_gui_toaster_addTemplateToast;", "['SuccessTitleAndText', ['PVE-Zone', 'Du bist nun in der PVE-Zone! Pass auf worauf du schiesst!!']] call ExileClient_gui_toaster_addTemplateToast;" ]; 1 Share this post Link to post Share on other sites
gagi2 50 Posted June 16, 2019 @pierremgi thnx man... that worked... Share this post Link to post Share on other sites