Jump to content
Sign in to follow this  
Arsenalw80

A few questions

Recommended Posts

First off, I'm new to this whole thing. And second I'm sure this has been answered before, But the search function has been locking up firefox so I can never see if there was a post that answered my question.

I've got Arma 2(retail) and OA(Steam) and combined them so if that causes any issues with what I'm asking sorry.

I'm attempting to make a test mission(to get me started into mission making) where Marines/Army assault Cheranus.

I'm new to this whole thing.

First question.

I'm using this in a trigger

P1="ARTY_Sh_81_HE" createVehicle [getpos point1 select 0, getpos point1 select 1, 0];

I'm trying to get this to repeat three times and get it to spread out so its more random. And also how would I make them spawn higher in the air so they have a drop before they hit?

Second question.

I want to make the invasion force spawn when triggered by radio alpha OR when all anti air units are destroyed.

How would I make a Marine platoon spawn in say a Sea-hawk or an Army platoon in a Black-hawk?

and how would I make them not spawn till the AA guns are destroyed?

Share this post


Link to post
Share on other sites

I can't help with spreading them out and making them random, but I can tell you how to make them spawn higher up. :)

P1="ARTY_Sh_81_HE" createVehicle [getpos point1 select 0, getpos point1 select 1, 20];
Second question.

I want to make the invasion force spawn when triggered by radio alpha OR when all anti air units are destroyed.

How would I make a Marine platoon spawn in say a Sea-hawk or an Army platoon in a Black-hawk?

and how would I make them not spawn till the AA guns are destroyed?

You can spawn units, but it's not really a good solution, I've heard it causes lag.

Better to create the forces and have them wait.

Create a blackhawk called bird1 and a group of marines with "this moveInCargo bird1" in their init lines.

Give the blackhawk a "transport unload" waypoint and next to it, create the group of soldiers "Get out" waypoint. Now, use "Sync" to sync "get out" and "transport unload". This will make the blackhawk wait for all soldiers to get out before going to the next waypoint.

Also, create a trigger, and set activation to "Radio Alpha" and sync the trigger with Bird1 transport "unload waypoint". This way, the helicopter will stay in it's place until you call radio alpha.

OR: you create a trigger that covers the mission area and all the AA guns, and set the condition to "{alive _x}count [aa1,aa2,aa3,aa4] < 1" (and you'd have to name all the aa-guns aa1, aa2 and so on.) Then sync the bird1 Transport Unload waypoint with the trigger.

Hope that works for you. :)

Edited by crazyrobban

Share this post


Link to post
Share on other sites

you can use my ParaReinforce script to fly in troops whenever you want to to wherever, features paradrop from heli, c130, LZ insertion from heli and more options..

Soon to be massively updated as well with even more features.

Share this post


Link to post
Share on other sites

as for the random part, try this:

_randomX = random x;

_randomY = random y;

P1="ARTY_Sh_81_HE" createVehicle [(getpos point1 select 0) + _randomX, (getpos point1 select 1) + _randomY, 20];

where x and y are the maximum randomness you want, for example, if you want the arty strike to be within a 10m X 15m area, it would be _randomX = random 10, and _randomY = 15

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  

×