Jump to content
Sign in to follow this  
hobson_matt

Creating a large mission

Recommended Posts

I know that part of this has been covered but i have been unable as of yet to find exactly what i want. I am creating a large mission where you are to hold an area underattack for about 10 to 15 mins non-stop. I only have a p800, so i cannot create too many unit on the editor. I am hoping to create groups as others get killed, but am not too good at scripting.

Any ideas guys?confused.gif

Cheers Matt

Share this post


Link to post
Share on other sites

Basicaly name the groups you want to be on the map first and attack the player (I am doing something like this in my nam mission, I am having huge problems because something is causing a CTD)

Use a script to count the number of units in a group:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

_group = _this select 0

#loop

_units = count units _group

?units <= 1: goto "make"

goto "loop"

#make

[_group] exec "makegroup.sqs"

<span id='postcolor'>

Make a script using createunit to add new units to that group. You can search the forum to find the answer to this part.

RED

Share this post


Link to post
Share on other sites

there is a script snipet at OFEC that allows you to put a large number of units. they appear when you get within a certain distance, but i think you can tell them when to appear.

Share this post


Link to post
Share on other sites

There is also CoC's EnemyStack which basically maintains the enemy force to preset level with only a certain supply of units you specify. You also specify various spawn points for every type of unit. Let me know if you need more info.

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  

×