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.
Hello Epoch Community,
I do not know much about scripting besides the basics. I am trying to add music that will play when AI hunt down players. I want the music to be played global, and I don't want the music to overlap every time an additional AI patrol joins in to hunt a player.
Now, I have tried using tons of scripts on the internet which show the basics of how to play sounds, but no matter what I do I cannot get them to play with AI reinforcements.
I have a private server for me and just a few friends, so I want the music to be global. I have the AI as police so I was thinking something like PayDay music to play when cops start chasing the players. I have tried tons of different code but nothing happens. If anyone could help that would be great. If you could also give a step by step guide that would be incredible, because I know little to nothing about where to put the lines of code and stuff.
By Nakama Mind
I was listening to some good ol Ensiferum when it dawned on me....I wonder if anyone else over @ epoch forums listens to metal while doing computer shtuffs!
Post your fav metal for me to listen to! I probably already have heard it but maybe not and either way I love all genres and instruments and for the record most music will appeal to me be it hardcore metal, or some J-pop :D (I think it comes from a musical background at a young age & a very open mind).
NO GENRE BASHING <3 ...
Metal only plz n thx