Jump to content

Search the Community

Showing results for tags 'triggers'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • BOHEMIA INTERACTIVE
    • BOHEMIA INTERACTIVE - NEWS
    • BOHEMIA INTERACTIVE - JOBS
    • BOHEMIA INTERACTIVE - GENERAL
  • FEATURED GAMES
    • Vigor
    • DAYZ
    • ARMA 3
    • ARMA 2
    • YLANDS
  • MOBILE GAMES
    • ARMA MOBILE OPS
    • MINIDAYZ
    • ARMA TACTICS
    • ARMA 2 FIRING RANGE
  • BI MILITARY GAMES FORUMS
  • BOHEMIA INCUBATOR
    • PROJECT LUCIE
  • OTHER BOHEMIA GAMES
    • ARGO
    • TAKE ON MARS
    • TAKE ON HELICOPTERS
    • CARRIER COMMAND: GAEA MISSION
    • ARMA: ARMED ASSAULT / COMBAT OPERATIONS
    • ARMA: COLD WAR ASSAULT / OPERATION FLASHPOINT
    • IRON FRONT: LIBERATION 1944
    • BACK CATALOGUE
  • OFFTOPIC
    • OFFTOPIC
  • ArmA Toolmakers's Releases
  • ArmA Toolmakers's General
  • Die Hard OFP Lovers' Club's Topics
  • 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

XBOX Live


PlayStation PSN


Origin


PlayFire


SoundCloud


Pinterest


Reddit


Twitch.Tv


Ustream.Tv


Duxter


Instagram


Location


Interests


Interests


Occupation

Found 36 results

  1. Hey Everyone, I'm having issues with 2 out of 7 identical triggers. I have made several bases each have their own trigger responisble for completing the task and changing some map markers and flags. Most of them seem to work but 2 of them will only fire once i complete a different objective after supposedly completing the faulty one. I have checked all the conditions of the trigger and where its synced to etc but i cant find any typo's or mistakes. Does anyone know if this is a known issue for having too much triggers? Faulty trigger example: Condition : {alive _x} count units enka1 == 0 && {alive _x} count units enka2 == 0; On Activation : "KaminoMarkerRed" setMarkerAlpha 0; "KaminoMarkerBlue" setMarkerAlpha 1; KaminoFlag setFlagTexture "\A3\Data_F\Flags\Flag_nato_CO.paa"; KaminoBanner setObjectTexture [0,"\A3\Data_F\Flags\Flag_nato_CO.paa"]; Thanks in advance! *Edit : I got it working now just by changing one group's name to enka3 instead of enka2.
  2. !(HandgunWeapon Miller=="") iv got this and when ever a handgun is in the gun slot of the player the enemy shoot him. How do i add a few more items into that bit of code ? _itemsplayer = items player; [<Map>, <Compass>, <Watch>, <Radio>, <GPS>, <NVG>, <Binoculars>] same with his uniform / cloths aswell. I found the bits of code above on the wiki but i still cant see how to stuff the bits together. this will help with the immersion. if the player stands up, or starts taking his items back out of the box they will shoot him. so this way he is forced to watch the screen and listen to the music. another condition im thinking of is making the hostage player have to constantly crouch and stand otherwise he will get shot :) this will destroy the player lol but i cant decide on making him sit and watch or dance sort of thing.
  3. Hi, I am trying to implement an alarm system in my base using triggers, but I don't know how to create the code / logic ... can anyone help me, plz? So far I've done these triggers: Setup triggers: Setup alarm Setup turn on Setup turn off Loudspeaker Turn on alarm: OPFOR is in the area BLUEFOR is in the area INDEPENDENT has been detected by OPFOR INDEPENDENT was detected by BLUEFOR Turn off Alarm : OPFOR left the area BLUEFOR left the area (if there is 1 bluefor and 1 opfor in the area and only 1 leave, the alarm stops ringing - I need to fix it) But I'm having critical issues with these triggers: Another INDEPENDENT team is in the area (the trigger is activated even if it is only me in the area) Another INDEPENDENT team detected me (same problem as above) I imagine that the ideal and simplest logic would be to check if there are more than 1 group in place to trigger the alarm, is it possible to configure a trigger to do this?
  4. Hey guys. I was wondering what is the best and most efficient way to run a trigger's code for each unit/object that satisfies its condition? (Note that the units might be AI. Not all of them are players. Also note that not all units activate the trigger at the same time) 1. The obvious method, of course, is to create a trigger for every unit in the game. But I think it might hurt the game performance (especially if there's lots of units and there is more than one area to cover). 2. Another way is to use waitUntil (or while, but I've found waitUntil to be more performance-friendly) instead of a trigger: waitUntil { sleep 1; { if (_x distance2D _triggerPos < 50) then { if !(_x getVariable ["TriggerActivated", false]) then {[_x, _trigger] spawn _code1;_x setVariable ["TriggerActivated", true]}; } else { if (_x getVariable ["TriggerActivated", false]) then {[_x, _trigger] spawn _code2;_x setVariable ["TriggerActivated", false]}; }; } forEach allUnits; false }; 3. The third (hypothetical) way is to get the magic variable "thisList" somehow (assuming it updates frequently and there's actually a way to get it). I'm not sure if this one is feasible though. Which one do you prefer? Also, if you have any additional ideas, I'd appreciate it if you could share it with me!
  5. Hello! I have been working on a mission for a while now, where the players have to take a big town. To do so there are multiple goals and my plan was to provide the players with little rewards for completing certain tasks. One of the rewards was supposed to be a new artillery provider (helicopter or artillery) but i cannot make it work. The mission always starts out with the player group already having access to all the support. Is there any way of setting up a trigger or something that will cause new support units to become available? Thanks in advance!
  6. I have a Minefield use'ing the A3 mine Module, but I have now idea to make a trigger fire when all the mines are deactivated. I know it needs to be something like this... if allMines are Active then don't activate... or something like that. My scripting is still very rough so I am just lost on where to start to get that to where I want it.
  7. Problem with switch units

    My problem is this, I am working on an SP mission, in which I want to change between the different team members to solve the objectives, but every time I change between them the team leader gives orders different from those I had left, for example , orders them to shoot, change position, etc. I wonder, is there any way to make the team leader respect the orders I left and can use another member of the team without spoiling my strategy?
  8. Hopefully someone can help me, and I think this is probably quite simple, I just can't seem to figure it out tonight! I was hoping that there was a way to tie the number of a team's respawn tickets to the number of items in a crate. e.g. there are 4 medkits in a crate so they have 4 respawn tickets. If they add 2, they have 6 respawn tickets and if they remove 3 they only have 3 respawn tickets remaining. Any help with this would be much appreciated! Cheers!
  9. Hello, everyone. I'm making Ravage mission, few players asked for persistent world discovery state and I'm struggling with making that. Basic idea was to store activated trigger names in server's profileNamespace and load this list upon restart and simply activate triggers again. Problem is OR doesn't seems to work in Condition field... or maybe I'm just completely wrong and it can't be done like this. Any advice appreciated.
  10. Hi, looking for a scripter to solve this Flowchart Theoretical Framework', via use of scripts. I am a videographer, not a scripter or anything technical. Basically, using what apex has given us, have put down a load of modules and triggers in a planned manner, all related around tasks and briefings, along with scripts within triggers filling in the gaps which will make the changes when certain conditions are met. The hypothesis is that these modules should be able to add up/correlate so an objective can either be completed or failed, with the (missing) script in triggers making the missing links. Why do i not do it? Because 1) Not a scripter 2) It would take me a decade to crack it If you take it on and crack it; - include a 'noob' definition of how it works - Add me on steam - Will give you credit in my video for theory, with possibly more rewards Check the link for a image of the theory, along with mission.sqm https://www.dropbox.com/s/e4kc066vn329dsz/Theory.png?dl=0
  11. Ok, now I want you all to know that I started scripting a few days ago and as most of you can understand I am not a genius just yet. All I need help with is to make a code run while the trigger is activated. something along the lines of. "while" _Caller is in the trigger run (_caller addScore 10 .... sleep 5) So pretty much while the player is in the trigger he will be given score every 5 seconds. And on top of that I know how you make an sqf run via (addAction) but how do you make an sqf run when a trigger is activated / a player enters the trigger. Sorry for the stupid questions trying to learn.
  12. 3DEN editor trigger help

    I'm trying to make a radio conversation between the player and npc. I have the radio chat modules set up to triggers, but I want them to be activated by the player onky, instead of just civilian, BLUFOR, and OPFOR teams. Can anyone help?
  13. I'm currently tring to set up a mission where a player activates an action witch activates a trigger that spawns units in a group. I have done the addAction and it looks like this: this addAction ["Spawn INF", {(_this select 0) setVariable ["GERinf", 2, true];}]; and the condition of the trigger: ((InfTrigGER getVariable ["GERinf", 0]) == 2) But i have trouble with spawning the units. So far i have done this: _group105=createGroup west; _unit2=_group105 createUnit ["fow_s_ger_heer_rifleman", getMarkerPos "GERinfspawn", [], 4, "FORM"]; I'm trying not to use an outside script and basicly only do it from the ingame init. If someone can help that would be awesome :)
  14. Hi, I'm stumped. I want my enemy AI to ignore a waypoint until a trigger is activated. I've looked this up and most of the replies are saying to disable the AI's movement until the trigger is activated. This is not what I want. I want my AI to act normally (eg. engage in combat, follow predefined waypoints, etc.) until this trigger is activated, then have them move to this waypoint. Is this possible? Thanks for any replies.
  15. Hello everyone, i need some help. I am currently trying to make a mission and i want to trigger a Mission win when all 2 Tasks are completed, you (the Player) Needs to go to a specific Zone and then the escape should trigger... but how do i do this? Please help me. LG Pinky PS: please dont mind spelling mistakes, im german and my pc likes to autocorrect them.__.
  16. I want to start a mission straight into the virtual arsenal. I'm creating a story-based mission and I want the player to create his/her character before it all begins. I don't want the player to look at a box and select the aresenal. I want them to spawn into the arsenal, one time only. I also want to: pause the scripted events at the mission start while the player is in the arsenal. give the player objectives and waypoints. display text on screen and dialogue from NPCs. speak to NPCs, conversation wheels, which trigger events such as spawning, objectives and waypoints. delete unwated NPCs and objects. Its been a few years since I worked with ArmA. Could somebody point me in the right direction?
  17. I apologize if is this is painfully obvious. I have been crawling the internet for answers, and I've run out of luck. I'm attempting to create a mission where players control Inf Squad. Squad has to drop off a civilian in town before continuing to other objectives. I just want the civ to get out at the designated point, move to a waypoint behind a building then disappear. I initially had the civilian join the Squads group then use a trigger to have the civ get out, then move to a waypoint and use the dismiss waypoint which failed, the CIV did not do anything. I then attempted to just put the civ in the vehicle and get out by trigger and follow its next set of waypoints. The Ai got out then followed the vehicle and got back in the vehicle. (used moveOut command). I also used Trigger with Radio Alpha, but it still did not work. I'll take any help I can get (especially explain like I'm five type) Thanks!
  18. Hello! I've stumbled upon a small problem to solve. I was curious as to what the simplest method is to enable a trigger's ability to activate. Example: Say there's a zone that ends the mission, but you want to force the player to complete tasks before they can walk into the specific zone, ending the mission. It seems using standard zone triggers has nothing preventing the player from walking into the zone, ending the mission. Essentially, I look to have the trigger's ability to activate enabled only after something specific has been completed (Whether it be a task or a trigger first.) This being the goal, "triggeractivated" isn't ideal as it forces activation. If there's a simpler way (or better, coding as well), I'd love to know. Many thanks.
  19. I am trying to hold troops in place until the helo is within 100m to speed up loading. This is for a basic helo transport practice mission I am working on. Right now the way the synched waypoints work the fire teams are running around on approach, sometimes toward the helo while I am still approaching, and it takes forever for them to load. I want to have a guard or hold waypoint that releases once the helo is close. This would keep them right on the PZ until I am nearly landed. I have tried searching and find it tedious. The wikia sucks so far when looking for editing info.
  20. Hey guys I am having a problem with the triggers in Eden Editor. I downloaded the game about a week ago, but I have about 300 hours in Arma and I never had an issue with the triggers. The problem I now have is that, although I can change the type of the trigger, I cannot change the Activation settings. I have tried the windowed mode, as someone has suggested, but it worked only once and now I cannot change it at all. I have also tried playing without mods and nothing seems to work. Do you know how can I fix it?
  21. Okay due to some things i forgot to check yesterday i've now made some final changes. NOTE: it's made based of RHS, it will replace the weapons that FIA are using, advise to not use it in a manner that affects the player. *Moved the shuffle statement of all the arrays to be before the arrays are doubled *it now grabs the items the unit is carrying before they're wiped and re-adds them at the end of the script *it now adds ammo for the GP25's and M203's *if the weapon to be given is in the LMG list the unit will now get a kitbag for the ammo *if the unit gets a RPG-7 with or without a PGO it will receive a RPG pack https://pastebin.com/MikjXBqc So i am trying to make a script that will replace the weapons of the opfia that spawns in a mission, it identifies them by what weapon they have and checks if they have the rpg32 and replaces it as well. The problem i am having is that i can't seem to make it run, the script itself should work even if it's not a class A example of a code, so if anyone would be so kind to take a look over it and tell me how to trigger it that'd be swell!
  22. Hello again. Today I'm in a situation where I want the player to move to a certain spot/trigger location where an enemy patrol (2 units, variable name patrol1) will spawn down the road a ways and follow a set of waypoints. How would I go about doing this? Again new to all of this, please be understanding!
  23. Was hoping someone could help me with getting triggers to work. I've tried everything I could think of. Tried a few Youtube tutorials, but nothing worked. I'm trying to get some T-90's to move through a series of waypoints once my M1 Platoon reaches a trigger box. I have these settings in the trigger Activation: Type: Guarded By OPFOR Activation: BLUFOR Activation Type: Present Condition: this On Activation: Blank On Deactivation: Blank Everything else is default The first waypoint for the T-90s is supposed to be activated by the M1's reaching the trigger box. I just can't get it to work. The T-90's just start moving as soon as the scenario starts.I'm willing to try and learn scripts, but I think that would be like trying to teach Mandarin Chinese to Helen Keller
  24. Hello all, I am working on a multiplayer scenario I've called "Hide and Seek": Opfor has to find and kill the Blufor units within x minutes, while Blufor has to stay alive until then to win. If Opfor manages to kill Blufor, it's a win for them but a loss for Blufor. If Blufor manages to stay alive throughout the countdown, Blufor wins and Opfor loses. To avoid stalemates and extreme "camping" on Blufor's end, I've added a little side quest where Blufor shall be able to trigger a "mission complete" ending by blowing up a specific Opfor vehicle. This dhall, of course, trigger a "mission failed" for Opfor as well. I struggle to find a way to script/trigger this, as I can only achieve one mission ending at a time. Can anyone with more experience please help me script this properly? Thank you!
  25. Hello, so i'am making a survival style mission, so i have setup shrinks, each shrink looks something like this: // shrink.sqf sleep 2; nul = "Warning message" spawn bis_fnc_titleText; sleep 2; "shrinkmarker" setMarkerSize [2200,2200]; sleep 118; _shrinktrigger2= createTrigger ["EmptyDetector",getMarkerPos "shrinkmarker"]; _shrinktrigger2 setTriggerArea [2200, 2200, 0, false]; _shrinktrigger2 setTriggerStatements ["not(vehicle player in thisList) && not(player in thisList)", "player SetDamage 1;",""]; _shrinktrigger2 setTriggerActivation ["ANY", "PRESENT", true]; sleep 1; nul = "Shrinked" spawn bis_fnc_titleText; skiptime 1; sleep 60; if (isServer) then { null=[]execVM "spawncar.sqf"; }; so everything works, trigger gets created on same position as marker is called "shrinkmarker". So i player hosted the mission , the VM got executed in init.sqf, via: sleep 60; null=[]execVM "shrink.sqf"; so me and my friend after 60seconds got the warning message, in that case the marker size showed us where the shrink would happen, so we both stood around ~300m outside the marker, after 118 seconds, the trigger got created, remember (we both stood near each other, 1meter difference OUTSIDE the marker, meaning we should both die since we are not in area where trigger is created), and for some reason, i died, but my friend did not. We were both in CIV side.
×