Player.units?

Things that already exist in the current mod API
Post Reply
User avatar
FreeER
Smart Inserter
Smart Inserter
Posts: 1266
Joined: Mon Feb 18, 2013 4:26 am
Contact:

Player.units?

Post by FreeER »

Since you can change/create units with force=player it might be nice to be able to access those units without needing to save them yourself, it would make it easier to set commands for them, and if more than one mod adds allies then you would be able to set commands for ALL allies not just the ones your mod know about.

Second, allied units should really also reveal the map, same as the player (though perhaps with a smaller range).

Third, if Player.units is added would allied unit-spawners be able to check this before spawning (limit player 'army' to x) lol

note: this isn't a much of a request, more of a 'hmm, does this sound interesting to anyone or do you think this could be useful eventually', but since it would require c++ changes I thought I'd post it here
<I'm really not active any more so these may not be up to date>
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me :)
Or drop into #factorio on irc.esper.net

Post Reply

Return to “Already exists”