As a newbie to the editor, I can say this is short, sweet, and straight up to the point. Thanks a ton!
@zekebowling9850 Жыл бұрын
Thank you so much! I’m making a SP mission where the player arrives at a FOB, receives orders from an officer, then joins an AI unit on patrol as their new guy. After figuring out how to make the player(me) join the AI unit, I needed to figure out how to keep the AI unit at the FOB until I had received the orders and joined the unit. This was the perfect final piece to the puzzle!
@MUJUNKY4 жыл бұрын
I've seen a few other questions about triggers on this vid, and I know how hard it can be to find exactly the info you are looking for about the arma editor, so here are a few I can help with. this is going to be long. How to make a trigger that will tick on to complete, or fail, an objective when a variable is killed or destroyed. Say you want to assassinate an enemy officer. The officer needs a variable name, we'll call him Billy. You make a trigger with a very simple line, !alive Billy. now, when billy dies, the Set Task State module you should link the trigger to will activate, in turn changing your task to Complete, fail, cancel, etc. this works with vehicles, men, supply boxes(Keep in mind, some boxes do not have a damage model, thus they cannot be destroyed. you can still do this by having a zeus delete the object mid-explosion as a work around.) How to make a conditional area trigger. Setting up a trigger that will tick on when a specific variable enters is similar. building on the previous example, lets say you want to add intel, or a diary entry (Briefing stuff on the map screen) when Billy is on his way to the ambush point, but NOT when his Route Clearing vehicle drives through the trigger area. this means you cannot just use a standard Area Trigger->Activate->Opfor->present. The code needs to be Billy inArea IntelTrigger, IntelTrigger being the name of your area trigger. You would sync that trigger to Create Diary Record(Entry? can't remember the module name) you could also sync an Ambient fly by routed to pass near your players if you didn't want to outright tell them Billy was on the move, giving a subtle hint that their target is in the area. I've had trouble syncing stuff in the past, but by and large they work well. You can also have several triggers linked to the same event. !alive Billy could be used to sync to a sound module, say, at the military base he was first seen, with a time delay of about three minutes, for the alarms to start going off. Combine that with using the lines in this video, you could make the base go on alert when Billy dies. A favorite set up of mine, is to use several area triggers along a road, firstly, when the lead vehicle or unit crosses the trigger threshold, it will cause a red flare to start falling. second trigger, which is on a time delay synced to the first, causes machine gun tracers to start hitting the road all up and down the area from multiple angles. third trigger, is actually the first one to be activated, as it is bigger, but using delays will allow you to time it correctly. It causes mortar shells to fall randomly inside the area for about a minute, and then it deletes itself, and the machine gun tracers. The fourth is a trigger that activates the second the machine gun tracers are deleted, allowing the proned ambushing AI to open fire and begin moving. I'd recommend using an IED or APERS mine placed with the editor to get the players to stop before they haul ass through the whole encounter. I get about a 50% total squad kill on players if they aren't expecting to be ambushed. you can also sync smoke/fire/etc. The eden editor is wonderful.
@raavolk3 жыл бұрын
Thanks for your help mate, I needed it because I had to make my AI Squadlead wait for me to untie a hostage before exfil, this work great.
@22dipthisstick3 жыл бұрын
Short and to the point. Thank you!
@edwardchen32294 жыл бұрын
2:01: "President Donald Trump is now playing Twilight Struggles"
@w4f3l8 жыл бұрын
Great stuff, very simple to use, exactly what I was looking for my mission :) thanks!
@pedrovmj8 жыл бұрын
THANK YOU, IVE BEEN A HOUR TRYING THIS, YOU SAVED ME. LOV U
@ThePrimevalZone8 жыл бұрын
Glad that I can help!
@Omar-lq3ri Жыл бұрын
The screams of the damned in the background
@bellum89704 жыл бұрын
the trigger can not activate an other faction's move marker. idk why. i want my driver (independent) to move whenever the enemy (OPFOR) reaches the trigger. can you help me?
@SchwippedieSchwappe4 жыл бұрын
I am creating a little mission for myself, in which two enemy tanks move to their target once my team reaches a position. It works for me this way, maybe check again if you got all the text and commands right?
@kedityt7 жыл бұрын
what do I do with multiple waypoints?
@ChristianSakr4 жыл бұрын
Dance
@lennyking13402 жыл бұрын
@@ChristianSakr lol
@covenant1572 жыл бұрын
What about large groups /compositions? How do I script that for seperate squads of the same team
@MrDj2008 жыл бұрын
Thanks, that helped alot! But what does syncing the WP to the trigger do? For me everything worked with just enable/disableAI. So I don't really get what the syncing does. Can you tell me?
@ThePrimevalZone8 жыл бұрын
Something that I thought was necessary when I made this, but its not(as you discovered), syncing basically assigns [Blank] to [Blank] in particular, sort of in the same way units are grouped to one squadleader. I mostly only use synching for vehicle repawns now
@MrDj2008 жыл бұрын
thanks! Then I'm pretty confused why there is a WP-Activation thing when you right-click a Trigger :D. But well. Thanks for the fast answer. And nice tutorial btw!
@MUJUNKY4 жыл бұрын
I know these comments are three years old, but Syncing is required when you want a trigger area, or module, to apply to only a select set of variables, and usually the variables in question are required to be synced to the respective module for complex stuff. My current campaign I am using a Zone Restriction with an inverse border, synced ONLY to the player squad, and trigger zone. should they by chance pass into the zone restriction, they have ten seconds to leave before *poof* a minefield spawns around them. AI's will not trigger it, nor do ambient animals or civpop. great way to keep your players within a set area.
@mitchmitchell31423 жыл бұрын
This is really helpful. I am trying to make a scenario where 3 squads hold in a trench until another squad takes a position (mg nest on a hill). Is it possible to use one script to disable "MOVE" for the entire squad? So the entire squad doesnt immediately get in formation on mission start but rather holds in the position I place them in the trench until the trigger activates? I've gotten it to work but I have to use the same script for each unit and am wondering if there is a a way to do it for the whole squad with one script.
@mitchmitchell31423 жыл бұрын
Thanks btw this is awesome
@egemenerturk5 жыл бұрын
Thanks for tutorial, Working for "MOVE" but other waypoint commands not responding. " LAND" and seek destroy says error.
@fayazravat77586 жыл бұрын
help me on this one from the 3 side 3 group moving to the way point and at certain point all 3 group stop and how to set up trigger there so my squa or group will move to next waypoint by activating trigger
@cycloneops54405 жыл бұрын
i have tried this with a plane, but it does not work. plane wont move... used plane1 enableAI "MOVE"; plane1 enableAI "MOVE"; plane1 disableAI "MOVE"; what is wrong?
@ThePrimevalZone5 жыл бұрын
You need to write this on the pilot of the plane, or driver of car etc.
@FH-rp5or6 жыл бұрын
You can so this without a trigger just by giving the condition in the waypoint condition field.
@olliestir18153 жыл бұрын
for some reason even though i put the semicolon in it says: error missing: ; Can anyone help? thanks :)
@ahkmahadd28574 жыл бұрын
can the ai still attack before the trigger is activated, if so how do you make this not happen?
@s128303 жыл бұрын
Can you do this with drive?
@justinreinhart66377 жыл бұрын
Where do you learn those things you're supposed to type like "a disableAI" How do you know to type that and where do you find the list of commands? Everything I try to type the game doesn't recognize
@Indianawinny6 жыл бұрын
community.bistudio.com/wiki/disableAI
@justinreinhart66376 жыл бұрын
Thank you
@michaelderkacz55267 жыл бұрын
This doesnt seem to work with vehicles... am i correct?
@ThePrimevalZone7 жыл бұрын
This works with vehicles in the same way, but you must target the Driver or Pilot to write the script, not the vehicle itself
@michaelderkacz55267 жыл бұрын
Yeah it only took me two hours to figure that out xD Do you know any good tutorials for creating objectives to destroy things? Im lost
@xDDiscoDx6 жыл бұрын
will this active be shown in multiplayer ?
@parkertipton34966 жыл бұрын
it has stopped working randomly with me, anyone else?