Jump to content

Dedicated server missionCommands.addCommandForGroup not working properly


Recommended Posts

missionCommands.addCommandForGroup() function not working properly in dedicated version but work perfectly in client host server.

 

Scenario: a mission with 1500 group

while loop function add radio item to each of group (with a 5 min delay after server start)

 

in client host server, everything is working properly.

in dedicated server, group id after 1000 have no radio item. (end at a air-spawn JF-17)

 

Is this a bug or something wrong with script?

Link to comment
Share on other sites

Perhaps it would help if you show the code. Do these groups exist at the time you issue addCommandFprGroup()?

 

And do I read that correctly, you are iterating over 1500 groups, or is the group ID merely above 1500?

 

 

Link to comment
Share on other sites

5 hours ago, cfrag said:

Perhaps it would help if you show the code. Do these groups exist at the time you issue addCommandFprGroup()?

 

And do I read that correctly, you are iterating over 1500 groups, or is the group ID merely above 1500?

 

 

The id is not above 1500, I also try something like loop to 10000, it did not work either.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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