Jump to content
Sign in to follow this  
tambovskya

Spawning Units:

Recommended Posts

How would it be possible for me to do the following:

1. Spawn 50 soldiers inside a trigger. If the number of soldiers goes below 15 it spawns another 50 again.

I'm trying to understand UPSA3 but it's a bit complicated.

I appreciate if anybody could help me out.

Share this post


Link to post
Share on other sites

UPSmon is quite easy to use

1. Download UpsMon

2. Put the UPS.sqf into your mission folder (mission needs to be saved first)

3. Place a reasonably sized rectangular marker

4. Give the marker a name like "CampPatrol"

5. Place a unit or a group

5. In the unit's (or group leader) "Init"-Box write

nul=[this,"CampPatrol","random", "min:", 50] execVM "ups.sqf";

This will spawn the unit (or group) 50 times in random positions in the marker.

About the respawn-thing, it's not that hard to do by trigger or script, but bear with me, its too late for me to get it down now. Someone else will do. ;)

Edited by dga

Share this post


Link to post
Share on other sites
UPSmon is quite easy to use

1. Download UpsMon

2. Put the UPS.sqf into your mission folder (mission needs to be saved first)

3. Place a reasonably sized rectangular marker

4. Give the marker a name like "CampPatrol"

5. Place a unit or a group

5. In the unit's (or group leader) "Init"-Box write

This will spawn the unit (or group) 50 times in random positions in the marker.

About the respawn-thing, it's not that hard to do by trigger or script, but bear with me, its too late for me to get it down now. Someone else will do. ;)

Honestly. Thank you. Simple, and very understandable.

Share this post


Link to post
Share on other sites

So... didnt you understand it?

Share this post


Link to post
Share on other sites

how would i make a trigger to active when blufor enter the trigger from the AI to spawn? I under stand i have to use this in the unit init nul=[this,"CampPatrol","random", "min:", 50] execVM "ups.sqf"; but what would i have to put in the trigger

Edited by hellstorm77

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  

×