- 0
Sign in to follow this
Followers
0
triggers... a never ending story
Asked by
AFC~Gagi2~,
-
Recently Browsing 0 members
No registered users viewing this page.
Asked by
AFC~Gagi2~,
No registered users viewing this page.
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,8200,0], 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 the wiki says...
EDIT: got a solution in BIS forums now...
_ZoneTrigger = createTrigger ["EmptyDetector", [3500,8200,0], 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;" ];
did the trick
Edited by AFC~Gagi2~Share this post
Link to post
Share on other sites