Jump to content
gagi2

triggers... a never ending story

Recommended Posts

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

_trg setTriggerActivation ["VEHICLE", "PRESENT", true];

_trg triggerAttachVehicle [player];

  • Like 1

Share this post


Link to post
Share on other sites

Sorry I can't  elaborate I m on my phone

Share this post


Link to post
Share on other sites

_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;" ];

  • Like 1

Share this post


Link to post
Share on other sites

@pierremgi thnx man... that worked...

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×