Jump to content
Sign in to follow this  
strannix

Ferrying Squad Help

Recommended Posts

Hi

I have a squad land and get into a vehicle which is waiting using the hold waypoint, next the load waypoint for the squad and finally a move waypoint.

Problem is the driver just holds with the squad in the car, anyone know how to solve this problem? without doing a squad join.

Share this post


Link to post
Share on other sites

Create a trigger, set its type to Switch, then specify the condition (when you'll want the vehicle to move), and synchronize it to the hold waypoint.

Share this post


Link to post
Share on other sites

to add to this, in case you don't know what you should put in the condition field, name your vehicle something then use this in the trigger

count assignedCargo VEHICLE_NAME = NUMBER_OF_UNITS_IN_SQUAD

assignedCargo adds all the units in a vehicle's cargo into an array, count counts the number of elements in an array.

This works because units ordered into vehicles will attempt to get into cargo seats before filling crew positions (I think I remember reading this somewhere). Anyway, placing units in the editor or using the createUnit function in a script will spawn units with full crew positions anyway.

Share this post


Link to post
Share on other sites
to add to this, in case you don't know what you should put in the condition field, name your vehicle something then use this in the trigger

count assignedCargo VEHICLE_NAME = NUMBER_OF_UNITS_IN_SQUAD

I tried using the above mentioned code in the condition field of the trigger, it didn't seem to work. Gave an error message at the =.

If someone is willing to write the trigger syntax for a unit to only move to its next order once it has loaded its 3 player cargo.

Would be very grateful... ;)

Share this post


Link to post
Share on other sites

Sorry for not getting back to you on this, I was still learning the in's and out's of arma's syntax structure. You need to use a double equals (==) instead of a single one.

Share this post


Link to post
Share on other sites
Sorry for not getting back to you on this, I was still learning the in's and out's of arma's syntax structure. You need to use a double equals (==) instead of a single one.

Thnx Dread will try this out when I get back home, tried activating a way point by syncing it with another but no luck. Also having some problems with the helo transport module, it seems I have to call for air transport before I enter the chopper. Getting in before calling will make the pilot hover up and down endlessly or just stay stationary with the engines off. & final issue, I can't link in more than three support modules to a single requester, the calls for them are present in game but one of the four will show no unit for execution of support.

Spent many days placing objects perfectly and searching for solutions to problems, my mission is almost finished except it needs the touch of a expert ARMA programmer, so if your game I could use some help. Played most of the popular missions out there and I got to stay none look as well detailed as mine. ;)

Share this post


Link to post
Share on other sites

I'm far from an expert, but I don't mind helping you out. I've got writer's block at the moment (scripter's block???).

Share this post


Link to post
Share on other sites
I'm far from an expert, but I don't mind helping you out. I've got writer's block at the moment (scripter's block???).

Msg me your email and ill send you the file. Your going to need the following downloads to run it.

Armaholic C-130J

Armaholic African Conflict

Armaholic Chinook

*Notes*

A complete working Stratis airbase is far from finished, I add detail to the base every now and then and have plans to fully populate it.

Selecting Foxtrot callsign on the radio will signal the rebel commander to kill the hostages, i haven't finished programming it yet.

Edited by Strannix

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×