Jump to content

Can the mission editor detect the status of a group's units?


Recommended Posts

Posted

I made a simple training map and I wanted to be able to automatically regenerate a group of units after all of them have been cleared.

Currently I can't find a way to be able to detect a group of units. So now I can only spawn a group of units by killing a truck.

  • 1 month later...
Posted

The Group entity is only made for the structuring of the mission in the editor. It is not an ingame entity you on whom MCU's can be applied.

The only "groups" that are active ingame are when a vehicle or a plane is structured as a group with a leading object and others connect to it with a Target link.

But you cannot Spawn such a "group", you can delete it. The only way to do is to have such target linked "groups" already existing in your mission editor and deactivated (just deactivate the leader) then according to your scenario you may activate them during the game. They will keep their "group" structure. But if you delete then links are lost. This is why Spawning will just spawn disconnected entities.

Jaegermeister
Posted
On 5/11/2024 at 4:35 AM, BabyFox said:

I made a simple training map and I wanted to be able to automatically regenerate a group of units after all of them have been cleared.

Currently I can't find a way to be able to detect a group of units. So now I can only spawn a group of units by killing a truck.

 

You would simply use a counter. Set the counter to the total number of units and link each of them to the counter with "on killed". When all the units are dead, trigger a spawner to respawn all of them individually at the same time.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...