Jump to content
Sign in to follow this  
OberSchutze

A few scripting questions

Recommended Posts

I was wondering if there was a way to drop a CRRC from a UH1Y from a script attached to the heli. Also for my mission I want some towers to trigger MI-8 heli reinforcements until all 3 towers are taken out. Thanks for your time.

Share this post


Link to post
Share on other sites

Commands-wise, you could just use "attachTo" and "detach" commands to drop the boat.

Share this post


Link to post
Share on other sites

Right but I want to create one with a dropdown from the pilot seat, like if the people in back tossed it out the side.

Share this post


Link to post
Share on other sites

You could spawn it close to the chopper and either attach a chute or not, If I remember right one or two of the boats floats down a little more realistically than when dropping a truck. The rubber ones do bounce if dropped on land but I never tried over water.

You could attach the boat and see how it looks sticking out the doors and then just use a setpos command to move it out.

Sometimes when you do attach stuff and then unattach stuff they can damage the host.

Share this post


Link to post
Share on other sites

So there isn't away to spawn one dynamicly from a heli?

---------- Post added at 02:34 PM ---------- Previous post was at 12:53 PM ----------

This is what I have come up with, but help script doesn't load, but when i just put the addaction part into the init it works, but i need it to work in script form:

//////////////////////////////////////////////////////////////////
// Function file for Armed Assault
// Created by: Robert Larson, larson@20thsfg.com
// Usage: nul=[plane] execVM "Scripts\boatloader.sqf";
//////////////////////////////////////////////////////////////////

_plane  = 	_this select 0;

_plane addAction ["Deploy CRRC", "Scripts\CRRC.sqf"];

And the createvehicle code which does work:

//////////////////////////////////////////////////////////////////
// Function file for Armed Assault
// Created by: Robert Larson, larson@20thsfg.com
//////////////////////////////////////////////////////////////////

_plane = "Zodiac" createvehicle (position player);

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  

×