Jump to content

Search the Community

Showing results for tags 'trigger'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


    • Vigor
    • DAYZ
    • ARMA 3
    • ARMA 2
    • YLANDS
    • ARGO
  • Die Hard OFP Lovers' Club's Topics
  • ArmA Toolmakers's Releases
  • ArmA Toolmakers's General
  • Japan in Arma's Topics
  • Arma 3 Photography Club's Discussions
  • The Order Of the Wolfs- Unit's Topics
  • 4th Infantry Brigade's Recruitment
  • 11th Marine Expeditionary Unit OFFICIAL | 11th MEU(SOC)'s 11th MEU(SOC) Recruitment Status - OPEN
  • Legion latina semper fi's New Server Legion latina next wick
  • Legion latina semper fi's https://www.facebook.com/groups/legionlatinasemperfidelis/
  • Legion latina semper fi's Server VPN LEGION LATINA SEMPER FI
  • Team Nederland's Welkom bij ons club
  • Team Nederland's Facebook
  • [H.S.O.] Hellenic Special Operations's Infos
  • BI Forum Ravage Club's Forum Topics

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL


Jabber (xmpp)








Steam url id







PlayStation PSN














Found 128 results

  1. As title says. I am very bad at scripting, i have made a fully made mission, everything is done. Now I need a script so that i can teleport a module "zombie waypoint" to certain location when players enter a trigger. What script and entities do i need for that. So Player enters a trigger trigger gets activated Module moves to trigger location or near it then repeat on next trigger thanks, im very new to coding and scripting.
  2. I am trying to put together a trigger which gives Zeus points every time a truck goes between two points on the map (Like a supply line). If one Zeus is playing as the OPFOR team, they must spawn a Tempest Ammo truck and tell it to Cycle between two points (Point A and Point B). If the truck is spawned at Point A, the Zeus must order it to go to Point B, once it reaches Point B it must then be ordered to turn around and go back to Point A before Zeus points are added to that team. The Zeus can have multiple trucks going back and forth to add up Zeus points more quickly. I have managed to work out how to make the triggers active when a certain Vehicle type has entered the trigger, but I am having trouble working out how to get the supply point triggers working properly.
  3. All is in the title. I have this in the condition field of my trigger but it doesn't work, it fire the trigger even if a unit is in a vehicle. this and ({if (isNull objectParent _x) exitWith {1}; false} forEach thislist) isEqualTo 1
  4. so I currently scripted out a situation where you try to release a civilian that's charged with explosives, thing is, the explosion is too big. It will destroy everything on a very big radius, I'm currently running ACE3 and also the bomb classname is "M_Mo_82mm_AT_LG", other bombs I've tried are "R_80mm_HE" and "Bo_GBU12_LGB" but they were still too big. I'm looking for something with a small radius that will kill the person next to it or about a radius of 5m-10m or anything around that if possible. Does anyone know? The bomb explosion class name or just the explosion itself? It would help a lot!! Thanks beforehand and wish you all best of luck! -Rhaonoa Edit: A good bomb is "M_PG_AT", but it is still sort of big!
  5. Hello! I had to create a workaround* when using triggers to be able to broadcast sound effects with hints to all connected clients (on dedicated server) and all is good excluding the fact that I'm unable to use the sound I'd like to, probably because I don't know how to correctly reference it (incorrect filename or something the like). I'm using remoteExec to broadcast sounds to all connected clients. Using the method is tried and tested to work with vanilla sound Alarm: "Alarm" remoteExec ["playSound"]; As for the sound file I'd like to use, I tried to use absolute(?) path and filename with and without the extension, like so: "a3\missions_f_beta\data\sounds\firing_drills\checkpoint_not_clear.wss" "checkpoint_not_clear.wss" "checkpoint_not_clear" but all these depending on what I was trying at the time of testing were returned with Sound nnnn not found. When we're talking about vanilla sounds there should not be the need to grab that one sound file I'd like to use and add it to my mission (and then reference the sound from the mission folder) or is there? So how do I correctly reference A3 vanilla sounds to be used in a trigger? Is there perchance a separate config file somewhere that would show the correct names of the sound files with which to reference them? Or should I use setSoundEffect (but I still wouldn't know how to correctly reference the sound file)? * It's all fun and games when you are creating a multiplayer mission and it's sort of slowly closing to be "finalized any moment now!". You've been testing it meticulously by running it as multiplayer mission through the in-game editor. And when you switch to dedicated server to test not much of the already established to be working is actually working, like simple triggers with hints and trigger (sound) effects.
  6. I've managed to create tasks that are hidden at the start by changing their owner to bluefor instead of 'synchronized objects only'. The problem is that when I use the trigger to create these objects, if the 'create task' is set to created or assigned, then the task is always instantly completed, but if its set to failed it will do the right thing and set it to failed. The chain of synced items goes: groupLeader > createTask1-Assigned > setTaskState-Suceeded > Trigger > setTaskState-Assigned > createTask2 If I link every createTask to the groupLeader and set everything to 'synchronized objects only' it will not hide the tasks at the start, but when I have everything in one single chain the missions are instantly completed for some reason. Could anyone please tell me what could be causing this? Thanks.
  7. Hi Completely new to scripting, what i'm trying to do is set a trigger to perform a module its synced to when the player enters a vehicle. What I have done in the condition field of the trigger is... man1 in car1. Despite this however nothing still happens and I couldn't find much information in order to execute this properly. Is there anything missing I need to add or create an sqf file to perform this action? Thanks for reading.
  8. Hi guys, Ive been trying to get a few bar gates to open automatically when a vehicle enters a trigger area. I am trying to get the trigger to fire when ANY vehicle (land vehicle) is inside the area. I know I can do this by naming each vehicle but I would rather have a general solution that works for any vehicle that is occupied by a side AI and or Players alike. I have tried typeof and Iskindof but I think my syntax is wrong in each case. Thanks!
  9. Hello everyone! I need some help with scripting. I want to put several enemy squads against a fortified position that must be stopped. But in order not to mass to many enemy units on the ground and prevent fps from dropping down I want to make these enemy units spawn for... let's say... a couple of times after one of the units (entire group) is dead. In my case - enemy boats crossing a river. When one of the boats is disabled, destroyed or the enemy group on board is eliminated, this action should work only a few more times no matter which group is destroyed, so after this condition of destruction is completed for several times, they must stop spawning again. The better idea or solution would be if all enemy groups stop spawning after some time, for example 10 minutes. In this 2nd case - the players receives a task to hold the enemy for 10 minutes (or in the first case to hold X waves/boats). I know how to put the spawn module, but I am not sure if it consist any options to make this action repeat random number of times, for example. Would you help me? Cheers!
  10. Hello im trying to do something, but i can do it one time im not able to do it repeatedly. Just an exemple of what i want to do : I want to deliver 2 item in one place for create one, for exemple an Offroad + a static HMG and that create an Offroad Hmg. So i use 3 trigger to do this : 1st trigger : trigger name : offroad condition : {typeof _x isEqualTo "C_Offroad_01_F"} count thisList > 0 activation : _vehicles = nearestObjects [offroad, ["C_Offroad_01_F"], 100]; {deleteVehicle _x} forEach thisList; 2nd trigger : trigger name : hmg condition : {typeof _x isEqualTo "B_HMG_01_high_F"} count thisList > 0 activation : _vehicles = nearestObjects [hmg, ["B_HMG_01_high_F"], 100]; {deleteVehicle _x} forEach thisList; 3rd trigger : no name condition : TriggerActivated offroad AND TriggerActivated hmg; activation : _veh = "B_G_Offroad_01_armed_F" createVehicle getMarkerPos "veh"; When i deliver the vehicle and the static weapon i got an offroad hmg that spawn, but not work on repeat trigger. My question it is possible to do that with one trigger, a working line for multiple condition.
  11. I have an issue in sector control. I want players to be able to cap an objective IF AND ONLY IF they are on the ground. I tried adding in isTouchingGround player; into my script, but that didn't help me. There are a few work around that I added to a "Example.sqf" for simplicity. /* Methood 1: Pros: Prevents Player from interacting with the trigger Cons: May adjust the trigger size globally */ [] spawn { _triggerWidth = triggerArea _this # 0; _triggerLength = triggerArea _this # 1; _this setTriggerArea [ 0 ,0 ]; waitUntil{isTouchingGround player || !alive player}; _this setTriggerArea [ _triggerLength ,_triggerWidth ]; }; /* Methood 2: Make module Pros: I'd be able to set the trigger condition specificly for capturing the objective Cons: https://i.kym-cdn.com/entries/icons/original/000/008/342/ihave.jpg */ /* Methood 3: By Far, the best Methood Pros: I'd be able to locally disable the trigger/capture area from some players Cons: I don't think this methood would remove the trigger condition, let alone the sector control area, but it's worth a shot anyways */ [] spawn { _this disableCollisionWith player; waitUntil{isTouchingGround player || !alive player}; _this enableCollisionWith player; } Is there anyway to A. Disable certain players from capturing a sector B. Inject a conditional into a Sector
  12. Hi all sorry im again :D I would Give a unit a init over this trigger below when he join my group. The Condition of the trigger are : ({alive _x} count units mygroup) < 2 And in on Activation i would give the group member this in the init : dummy = [this, units (group this)] execVM "automedic.sqf"; This is for a script that force ACE 3 Ais to revive me . I know i can normally set :dummy = this ............. in the init field of my group member BUT the group member existing not before , i recuit them with the Ravage recuit script and want to give them the init when he joining me. Its that possible to make that over this Way ? I only found ways to spawn units with a init but nothing over joing player goup . Tanks again for Reading and hopfully try to help me ! :)
  13. Full disclosure: I'm very new to scripting - I know I'm probably not doing things the most efficient way, so any tips will be warmly welcomed! I'm making an Exile WWII zombie server using Ravage zombies. The built-in ambient spawner for Ravage works okay, but I wanted to add greater variety in uniforms, loot, etc, so tried to write something myself. As disclosed above, this isn't my strong suit at all. I want the script to trigger at certain locations. I'd got in mind that I'd create an array (called _trgPos) that would hold the positions and radii of each trigger then create each trigger in a loop. This is what I've got so far: _trgpos = [ [[7365.57,2201.88,0],200], // A [[6422.59,2424.74,0],200] // B ]; { pos = _x select 0; _rad = _x select 1; _trg = createTrigger ["EmptyDetector", pos, true]; systemChat format["Creating trigger at %1",pos]; _trg setTriggerArea [_rad, _rad, 0, false, _rad]; _trg setTriggerActivation ["GUER", "PRESENT", true]; _trg setTriggerStatements ["this", "null = [pos] execVM 'zombiespawner.sqf'; systemChat format['Spawning zombies at %1',pos];", ""]; } forEach _trgpos; It's meant to pass pos to the script, which then causes the zombies to spawn when an Exile player enters the area. What actually happens is both triggers are created at their correct location, but when either A or B trigger is activated, the zombies spawn at the location of B. I've seen it works like this in 3DEN or when executed on the server. It seems that B's location is being passed to the script on both triggers. Have I missed something basic? Any insight anyone could offer would be fantastic! (Including zombiespawner.sqf in case it's useful):
  14. Hey, I'm working on a horror mission with puzzles. The trouble has to do with some scripts due to my knowledge. I have one trigger playing a sound. The sound is 21 seconds long. Once the sound trigger has been activated, the player has to go and activate another trigger within those 21 seconds. The second trigger should be activated only when the sound is being played. I'm asking for a solution for the condition field of the second trigger. I'm thinking of something like: this && while {true} do (or something like this) Puzzle idea from Amnesia: The Dark Descent. Link to video: https://youtu.be/dLTcEDjR4VY?t=408 Highly appreciate your help, and thanks in advance! :)
  15. Hello I want to spawn a icon on map after a trigger is fired i want to spawn the markers -> standard draw -> pickup (hd_pickup) i have looked thru the WIKI but have not found anything that helps me. any one who can give me the solution..
  16. Hi, I need help to get this running. I want to call some code on opening the parachute. I didn't found anything matching in the list: https://community.bistudio.com/wiki/Arma_3:_Event_Handlers. I even tried the GetIn-Handlers because the parachute seems to be handled as a vehicle. Any ideas? Thx in advance ;)
  17. Is there a way I can spawn enemy jets when flying over a trigger and also have them marked automatically with waypoint that keeps track of them and have them chase the player instead of fleeing. Thanks in advance.
  18. Hello, I'm looking to creating a short stealth co-op mission where a group must attempt to quietly enter a base, assassinate 3 HVTs and steal intelligence. Except I'm also trying to get a stealth trigger working, where once BLUFOR has been detected by Independent, the maintain stealth task should fail and create an evacuate task, however I can't get the Stealth trigger to work at all as I could be shot to hell by Syndikat soldiers and the task wouldn't appear. Went as far as to cover the whole playing area with a large rectangular trigger area, but it still doesn't work. Anyone knows of any way around it?
  19. Hello Armaholics! I must admit I'm very bad when it comes to scripting. Is there a easy way to have a trigger activate when you have closed a leaflet after you've read it. Couldn't find anything on leaflets on the wiki regarding event handlers. I'm using this for the leaflets: ["init", [this, "image.jpg", "Text message"]] call BIS_fnc_initLeaflet It will be used in a upcoming horror mission this halloween. Thanks in advance! :) Some of my missions: [CO-04] Last Stand - Bunker [CO-04] Last Stand - Compound [CO-04] Last Stand - Town [CO-04] Terrorist Hunt - Village [CO-04] Terrorist Hunt - Factory
  20. Hello, I'll try to make this as simple as possible: I'm wondering if there's a way to have a trigger disabled at first, and later enabled by another trigger. In other words, "spawn" a trigger. Imagine you're going through a corridor, nothing happens when you go to the end of the corridor. Then you head back and something happens on the way back. Example: Thanks in advance! :)
  21. I am making a SP game and i want to delete some vehicles when i don't need them anymore like heli, trucks and planes. {deleteVehicle _x} forEach crew (dropoff) + [dropoff] this i have in ACT in trigger but i only delete the truck when it drives inside the trigger if i put {deleteVehicle _x} forEach crew (plane) + [plane] inside the trigger also it delete the plane before it have been used in the game My trigger : type : NONE activation : BLUFOR activation type : PRESENT repeatabel :ticked off Condition : THIS on ACT : {deleteVehicle _x} forEach crew (dropoff) + [dropoff] (only delete the dropoff vehicle ) i want the trigger to delete any one and any vehicle who get inside the trigger from BLUFOR and one for OPFOR. anyone got some guides lines on how to do it..
  22. Hello, I have a problem and i can't understand. I have a tigger whit: Type: "none" Activation: "bluefor" Acxtivation Type: "Present" condition: this && {!alive obj1}; On activation: _m = createMarker ['destoy1',obj1]; _m setMarkerType 'mil_destroy'; _m setMarkerColor 'ColorBlue'; _m setMarkerText "Cache 1"; hint "Bluefor has destroyed the cache 1"; All work good and when the tigger is actived. But when i play on serveur and i deco reco this trigger reactivates the hint and sound. As if he was repeating himself? Thank you for the help!
  23. Hello everyone, My problem that I want to unlock a gate door only if player has specific item. I use a Trigger for that: Activation for AllPlayer, present. In the condition line I put this: (Player need to have the Ace Cellphone to open gates). "ACE_Cellphone" in items player; In the On Activation line : house1_1 setVariable ['bis_disabled_Door_1',0,true]; house1 setVariable ['bis_disabled_Door_1',0,true]; house1 and house1_1 are 2 concrete wall gates. In my init.sqf file, I put this: house1 setVariable ['bis_disabled_Door_1',1,true]; house1_1 setVariable ['bis_disabled_Door_1',1,true]; There a no problem, It's works fine! My problem is how can the doors stay locked if the player loses or puts down the phone? I try this In a new trigger, but it don't work, !("ACE_Cellphone" in items player;); Somebody can help me??? ;)
  24. Hello first of all. I want to make a Scenario in which a plane starts from the deck of the Aircraft carrier and I want the deck crew member to make the animation which is shown in the Jets DLC campaign/ showcase when the player presses the spacebar to start the takeoff procedure. So it's timed correctly with the Jet taking off and the end of the animation. This, of course, should only be done by the Crewmember who is standing next to the Jet taking off. Since I have no Idea how to script or program I'd like to ask a kind helper to make me a script which makes that above possible but compatible with a 2 player scenario which I'm trying to make. I know this is a lot to ask for but I'm hoping for someone that would be able to help. Thanks!
  25. Hi guys, I'm building a sort of training map that's getting to be quite ambitious the overall objective being to allow for multiplayer training of equipment and tactics in arma. I have a lot of equipment down and have been creating scenarios etc... for each type of equipment to instruct players how to respond to the specific scenarios. I have a few transport helicopters (little birds) placed in an area with a trigger encapsulating them (10m height) the condition of the trigger being "This" and this code in the upon deactivation field This all works great however I am running this on a dedicated server and it seems only the pilot has control of weather or not the specific vehicle component is damaged, I would like if the copilot could control this so as to have an instructor in the copilot seat randomly disabling components at inconvenient times.