sigzegv Posted February 5, 2018 Posted February 5, 2018 (edited) I'm trying to spawn aircraft multiplayer client slots in lua script at mission start (Because I want to populate some airfields randomly). Dynamic spawn works perfectly for IA and Player skills in unit data, but only "Client" skill doesn't work, it just crashes the script with an error popup, but no message inside. skill = "Random" // works fine skill = "Player" // works fine skill = "Client" // crash Is there a workaround to achieve that ? Edited February 5, 2018 by sigzegv
gromit190 Posted February 5, 2018 Posted February 5, 2018 I don't think that's the proper way to create multiplayer slots ("clients"). But I'm not sure. Maybe you need to pre-declare all the player slots (client aircrafts), and then just move them to random locations instead. Haven't tried creating multiplayer slots "during runtime" myself, someone else can probably provide you with a more experienced answer :-) EDIT: This thread is somewhat relevant: https://forums.eagle.ru/showthread.php?t=114576#2 Autonomous ground AI project
Pikey Posted February 5, 2018 Posted February 5, 2018 Nope, cannot spawn a client "slot". But you can block it with Ciribobs Simple Slot Block. ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *
sigzegv Posted February 6, 2018 Author Posted February 6, 2018 thnx for your answers, I'll try runtime slot blocking then.
Recommended Posts