I want to create a level where there are 30 soldiers. Half of those are supposed to be at half of their health.
The user is then supposed to send all soldiers with lower health to a spot of the map and the other units to another spot.
Between scriptes, components, systems and thang attributes I’m not sure where I can write my code.
I want to select with the code 15 units and halve their health. In addition I want to add a marker to them to be able to have a goal when they are all at one place. I also don’t get how the goal system works.
Can someone help me?