Search the Community
Showing results for tags 'trigger'.
Found 3 results
I have been able to add zombie spawners and such to epoch, so i have had success adding items in mission.sqm. I am trying to make an area trigger that plays music when players enter it. I have created it in the editor and it works fine. I just cannot seem to get it to work on the epoch server. I placed code into the description.ext and i think that code is bad, and maybe the copied code for mission.sqm needs to be changed. Can someone please post a complete one? (Just the parts I need, not a complete mission.sqm, or description.ext, unless you want to) So I can study it? I wont be able to modify an existing "safe zone dome" code or other code, as i have worked on this for 3 days. I have seen multiple posts, most of which were for "Arma2" Epoch. I have really worked at this and just cant get it. Please help. Also, i did make an intro music for my epoch server, and it works great. So, i have a CfgSounds area in description.ext, and i was putting the trigger into a Sensors area below Items in mission.sqm. Thank You for any help
Hey there, I know it has to be very simple, but I'm stuck on this atm. Maybe someone can give me a push in the right direction. I want to place a global marker and want to delete it again with a trigger, when a player activates the trigger. So that's what I got so far: _marker = createMarker ["BOX", _object]; _marker setMarkerType "hd_start"; _marker setMarkerColor "ColorRed"; _trigger = createTrigger ["EmptyDetector", "getMarkerPos _marker"]; _trigger setTriggerArea [5, 5, 0, false]; _trigger setTriggerActivation ["ANY", "PRESENT", true]; _trigger setTriggerStatements ["this", "deleteMarker _marker", ""]; I'm pretty sure that the error(s) are in these 2 lines: _trigger = createTrigger ["EmptyDetector", "getMarkerPos _marker"]; _trigger setTriggerStatements ["this", "deleteMarker _marker", ""]; I'm not sure what to put in as string code for deactivation. Trigger should be deleted as well of course, after the marker is deleted. Thanks in advance.