Jump to content
Sign in to follow this  
panicsferd

how to make boats land near shore, drop men off then leave?

Recommended Posts

So far with working on the editor and using waypoints I am struggling with boats. In my mission I am currently working on I want a speedboat minigun to be able to land near the shoreline to drop off a fireteam and then once the fireteam is dropped off for it to then leave the mission area.

So far what happened when I use the waypoints and add the waypoint to move and or transport unload near the shorline the speedboat beaches itself and then it cannot leave the area and it is just stuck there.

I am wondering if there is a easier way (or am I doing it wrong) or how to make it so a speedboat minigun can land near or on shore to drop off the fireteam and then be able to take off later.

Share this post


Link to post
Share on other sites

Hi, was messing with this idea myself, and did what you did and same result, boat beaches itself.

What I did try was this, I put this code in each unit's init box

unit1 assignAsCargoIndex [boat, 3]; unit1 moveInCargo boat;

I named the squad leader unit1, and every unit after unit 2, unit3, ect,. and named the boat, boat.

then gave a waypoint to the boat to bring to the shore and do transport unload, now this works but... when the boat leaves, lol he drives backwards.

So idk.

For a chopper insertion is easy with waypoints, but a boat it beaches itself, so theres got to be a workaround to prevent that, also would be cool is if you

could extract by the same boat as well, which I have an idea on how to do but not sure if it would work it would have to be tested, but lets get the insertion part sorted first.

Share this post


Link to post
Share on other sites
Hi, was messing with this idea myself, and did what you did and same result, boat beaches itself.

What I did try was this, I put this code in each unit's init box

unit1 assignAsCargoIndex [boat, 3]; unit1 moveInCargo boat;

I named the squad leader unit1, and every unit after unit 2, unit3, ect,. and named the boat, boat.

then gave a waypoint to the boat to bring to the shore and do transport unload, now this works but... when the boat leaves, lol he drives backwards.

So idk.

For a chopper insertion is easy with waypoints, but a boat it beaches itself, so theres got to be a workaround to prevent that, also would be cool is if you

could extract by the same boat as well, which I have an idea on how to do but not sure if it would work it would have to be tested, but lets get the insertion part sorted first.

Thanks for finally responding to my question, I think I will try that out. Like you said to, if it was a helicopter or even a ground vehicle it would work since you don't have to worry about it getting stuck/beached.

Share this post


Link to post
Share on other sites

Welcome.

That code works but as i said after the squad or your fireteam is reaches the waypoint (transport unload) at shore, and you have a move waypoint setup for the boat to exit,

for me at least the boat instead of going forward like normal he just backed up, basically retraced the route he came and then went on the waypoint from there, lol wtf.

Probably use this as a reference--> https://community.bistudio.com/wiki/Category:Scripting_Commands_by_Functionality

Not to be offtopic but please dont quote me if my post is above yours, unless you are quoting something in particular from what I said, imo a reply is that a reply to what was said before,

so the previous post is a quote in itself, just a pet peeve of mine, and tbh i dont understand why folks quote others when the post is right above theres, I know what I said.

Back on topic, i hope we can figure this out, as I'd really like to do some spec ops boat insertions with this, maybe there is some missions we can look at that already

do what your looking to do and see what they did, i'll look for some on Armaholic.

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  

×