Hello, I've recently gotten into Map Development, and I think I'm doing alright for now, at least as a beginner.
I've ran into a problem that I can't solve though, I've tried in every way I can think of, but to no avail.
I want to create a system that spawns unit based on how far into the game players have made it.
I was thinking of doing this by having a Variable (UnitPoints) and make each unit "cost" UnitPoints to spawn, randomly spawn units until the UnitPoints have been spent up, but I have no idea where to start.. I'd really appreciate some help or thoughts on how to make this function, as I don't really want to make the map linear (Units always the same) and instead would love a complete random but still fair, way of doing it. I would have no problem setting the UnitPoints cost manually, of course.
Thank you for reading, and considering helping!
I've ran into a problem that I can't solve though, I've tried in every way I can think of, but to no avail.
I want to create a system that spawns unit based on how far into the game players have made it.
I was thinking of doing this by having a Variable (UnitPoints) and make each unit "cost" UnitPoints to spawn, randomly spawn units until the UnitPoints have been spent up, but I have no idea where to start.. I'd really appreciate some help or thoughts on how to make this function, as I don't really want to make the map linear (Units always the same) and instead would love a complete random but still fair, way of doing it. I would have no problem setting the UnitPoints cost manually, of course.
Thank you for reading, and considering helping!