ANZACSAS Steven 396 Posted May 16, 2009 I have a mission where players can recruit ai and work with squads. I would like some help scripting a feature into the mission that deletes players "unwanted" ai when they disconnect from the mission. I have seen this done in Evolution but i have very limited scripting capability and have been unsuccessfull in all my attempts to "extract" it from inside the mission. I had an idea that if someone knows how this is done and has some time free it be nice to release a template mission to the community that just has an ai recruit(create) script running on a flagpole and that also has the scripting to delete the unwanted ai after player disconnects.For the benefit of the large Mp community.:) I have been using the recruit function for along time now and is very popular.I have had a lot of people asking me to use my scripts i made gonig from OFPEC guides. So i know first hand how needed this "feature " is to multi-player mission makers. Steve. Share this post Link to post Share on other sites
Bad Pilot 0 Posted May 18, 2009 every AI recruited spawns a simple looping script which checks for who its squad leader is. if the leader isn't a player, it means the player disconnected and it's time to delete the AI guy. That's how it's done in evo but I'm not near the scripts to paste them in now Share this post Link to post Share on other sites