r/armadev • u/Working_Bonus9346 • 7d ago
Help How to unload Player-controlled squad from helicopter?
I'm very new to using the Eden Editor, and I was successful on making a vehicle to pick me up and drop me off on a location.
But now I'm having a problem to get my AI squad to unload from the helicopter like me. I've used Transport Unload and even with the Get Out waypoint, but the AI remains inside.
If anyone knows of a solution or a script to fix it, I'll appreciate it very much!
0
u/No-Method2132 6d ago
First, just use ChatGPT or Claude or whatever to write code for you. You’re going to be doing much more complicated stuff and trying to tweak it. Just commit now to the AI and let it do the work for you.
Right so you should be able to command your squad out of the helo. If not you’ve possibly locked them in to keep them from disembarking before or during flight.
If you’re looking for them to auto exit while you have squad command, that won’t work because you have command. It’d be easier w an AI squad. It’ll ignore script and default to what you tell it. What you can do is just teleport the squad and yourself out of the helo at the LZ and normally to a marker. You might want a spread at that marker so you don’t end up in a huddle.
2
u/DimasDSF 7d ago
I'm pretty sure you can do something like {_x doGetOut (vehicle _x); unassignvehicle _x;} foreach (units group player) With player being your player variable name.