Jump to content

Recommended Posts

Posted (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 by sigzegv
Posted

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...