WWDriftwood Posted April 26, 2020 Posted April 26, 2020 Basically I'd like to count live players on a map so as the number changes I can activate/deactivate what I'd like base on number of players. I see the different ways I can count ai plane/vehicles, etc. coming, going, onkill, on damage, etc. Or count planes leaving an airfield and returned, etc. But I'm not sure I can count active players/pilots on a map? Maybe the better question is counting players onkilled so I can count planes leaving the airfield, then subtract planes as they are killed. Of course the different ways you count might count planes multiple times. Thanks...... DW
LLv34_Temuri Posted May 6, 2020 Posted May 6, 2020 Most certain option would be to have an external app that monitors the mission text logs and triggers pre-placed server input commands in the mission according to the log contents.
Zooropa_Fly Posted May 6, 2020 Posted May 6, 2020 It can certainly be done. 'Cynic AI' does this on his servers, maybe he'll pop along and reveal his big secret.. S!
super-truite Posted May 6, 2020 Posted May 6, 2020 when you call getplayerlist from the remote console, you get a list of players and a "ingamestatus" variable for each. I did not check if it allows to see if a player is alive or not, but if so, you could monitor say every 2 seconds the list, count the number of players and send serverinput commands to activate/deactivate what you need accordingly
WWDriftwood Posted May 7, 2020 Author Posted May 7, 2020 Thanks for the responses, I read about remote console in the manual but was hoping to keep it simpler than that and not have to deal with any external apps or monitoring for what I'm doing.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now