{deleteVehicle _x} forEach crew [put your variable here];deleteVehicle [put same variable here]; Someone had put the code here so it was easy to reference to and it has seemingly been deleted. So here it is again, enjoy :)
@yoangraf31897 жыл бұрын
Is it possible to delete soldiers with a trigger ?
@holdforth724 Жыл бұрын
If you have multiple helis and multiple crews you can delete them like this... {deleteVehicle _x} forEach crew heli1; {deleteVehicle _x} forEach crew heli2; {deleteVehicle _x} forEach crew heli3; deleteVehicle heli1; deleteVehicle heli2; deleteVehicle heli3;
@eviscero6 жыл бұрын
Unfortunately, this is not useful when working with groups. How do you delete a crew and vehicle group when it enters a trigger? ...when working with groups, the unit names are not known; or do you need to assign names to each unit?
@katzehd15073 жыл бұрын
hey little question, is there a chance that I can delete ground Units with triggers?
@ChaotMc8 жыл бұрын
What do I do if I got 2 Helicopters flying into the zone? How should the "code" look like? :c
@Schlimster8 жыл бұрын
+ChaotMc Well I think there is probably a way to code it to delete a "group" but I haven't gotten the chance to research/test that yet. For now you could set the variable for each helicopter (helicopter 1 set as heli1 or anything and helicopter 2 set as heli2) and then where I put "heli1" in the code, replace said variable. So for this to work I believe you might need two different triggers, one for each helicopter. Even though this works there is probably a better way to do it.
@ChaotMc8 жыл бұрын
Okay ty, I just tryed it today but it seems like it's not working :/... I did everything like you in the video and I have 5 Helicopters flying into the trigger zone but no helicopter is despawning... Not even one? I gave every helicopter a different name... "heli1" "heli2" and so on, the trigger zones got the same code like in the Video with "heli1" "heli2"... The trigger was set for Bluefor and vor everyone, I tryed both ._. You got any Idea? Maybe I can send you the mission or some screenshots? Or I upload a video where I show the things...? Sry for my bad english :c
@Schlimster8 жыл бұрын
+ChaotMc Id say double check that the code is exact and first try using it with one helicopter. once it works with one work up from there and test each step to see where it goes wrong. Im going to do a follow up video to delete a group so hopefully that helps
@ChaotMc8 жыл бұрын
okay, I will try :), Thx !
@Schlimster8 жыл бұрын
+ChaotMc Figured out a fix! making a video now :)
@Desperado0708 жыл бұрын
being honest i'll always used this methode and it is pretty fucking accurate if you use it wisely... U know, having 2 triggers inside each other 1 triggers whenever the units fly in but the second one triggers 0.1 sec later. Making the heli and the crew being deleted. so no flying crew for longer then 0.1 sec... ;) (make sure all 3 timers are on the same time 0.1 as example.)
@Desperado0708 жыл бұрын
change the thing into {deleteVehicle _x} forEach thisList; btw ... Works in multiplayer to since this refers to anything triggering the trigger... If that made sense, lol.
@bcon1177 жыл бұрын
Hey, I've been trying to look for ways to delete the unit that trips the trigger. I've tried {deleteVehicle _x} forEach thisList; but it gives me an error. Call me stupid, but is something else supposed to be added here? I just need to delete the unit that triggered the trigger.
@skipmccormick3 жыл бұрын
I'm trying to use that code for any unit going in the trigger but if I use a generic variable _unitName instead of heli1, it won't work even if i have the same value returned by the hint... _unitName = vehicleVarName (thisList select 0); hint _unitName; {deleteVehicle _x;}forEach crew heli1; deleteVehicle heli1; Any explanation of this ? range of variables issue ?
@shunkajun8 жыл бұрын
Hi Schlimster, always learning from these vids thanks for taking the time to put them out. I am having a small problem with the camera, E and Q are supposed to make the camera raise and lower, Q works great, E opens and closes the left side panel and does not move the camera at all, is there an alternative to the E key to lower the Camera , thanks man . (ps. I tried holding down Ctl and E and Shift plus E and Alt plus E all to no effect )
@Schlimster8 жыл бұрын
simple fix to this one man, q goes up and Z goes down:) thanks for watching. also can use scroll wheel
@shunkajun8 жыл бұрын
Thanks so much, step by step I am making it work, just a wee bit for now but soon on a larger scale. thanks so much for your help....S
@Schlimster8 жыл бұрын
+shunkajun No problem good luck!
@CrySyx4 жыл бұрын
So I know armas changed a bit but I’ve tried this coding with my mission and idk why it’s not removing the pilots for the helo I have been using for my mission.
@rodrigoglowacki3 жыл бұрын
Very good, thank you
@abroms.ash.96 жыл бұрын
Do you know how to reappear that helo?
@BassMonroe Жыл бұрын
if you could please put the code in the "more" section that would be very helpful
@Skizzaable7 жыл бұрын
great tutorial, intro song id? :D
@noncomplier53858 жыл бұрын
Is there a way to do the opposite of this? I want an APC to be hidden so you cant get the drop on it. You have to rescue a hostage and I want the apc to appear and move through its waypoints where it targets you once the hostage joins your group.
@Desperado0708 жыл бұрын
Go F5 modules, you find a module called : "Show / Hide". Place 2 of them on the map, double click 1 and make it show the other one hide. Now you want the APC to be linked to both the modules, and you wanna make 1 trigger. This trigger is gonna be linked ONLY to the "Show" module, make the trigger go off after people have rescued the hostages, now this gonna be tricky since you have to know how to make it trigger only when the hostages have been rescued so to ease things up we make it trigger when (your team) blufor for example walks inside the trigger. Place the trigger over the hostages and now the APC will only been shown after blufor enters the place of the hostages. (What you've done is you make 2 modules 1 hide and 1 show, the hide will have no trigger so actually it triggers when the mission begins making the APC being hidden, until blufor enters the hostage area and the trigger fires the "show" module showing the APC. (while a unit is being hidden he can't do anything but keep in mind tanks have still collisions and such so be careful where to place them.)) That is whats so fun about arma, you can do simple things on so many different ways that it is very easy to make your mission stand out from the rest and makes it a real arma experience. You only have to invest some time in knowing how the engine works and or the script language.
@kman1758 жыл бұрын
Great tutorial. Thanks for taking the time to make it.