Spearhead 1944 Code Snippets
Determine positions of craters on terrain
The craters that are part of the terrain, are not objects.
They usually have crater decals in them but the once present on the terrain do not link to the config versions which makes detecting them is harder.
In order to detect craters within 10 meters around the player, use the following code:
Enable revive system on AI joining the player group
Certain scripts/missions/mods allow the player to recruit AI to his group or add reinforcements to the player group.