Jump to content

Day/Night change not working

Closed 1.0.1

Rynki

When it transitions from day to night bot settings aren't changing.
For example:

    "Abandoned Supermarket 0": {
      "type": 0,
      "Spawn": {
        "AutoSpawn": true,
        "Radius": 20,
        "BotNames": [],
        "BotNamePrefix": "Crazed Shopper",
        "Keep_Default_Loadout": false,
        "Kit": [
          "CrazedShopper"
        ],
        "Day_Time_Spawn_Amount": 4,
        "Night_Time_Spawn_Amount": 2,

Once 8pm hits, there are still 4. If I reload the plugin, it correctly goes to 2. But then at 8am it doesn't change to 4 until reloaded.

I am using the TimeOfDay plugin and that is set to 50 minutes day, 10 minutes night. However, disabling it doesn't seem to make any difference.

Thanks,

Share this comment


Link to comment

Hi,

There is an expected delay, so they shouldn't insta-despawn/insta-spawn when the time crosses over the threshold.

For despawning it shouldn't be that long - I'd give it 20 seconds or so and check with bots.count console command.
They should despawn with that that time frame.


For respawn it is currently tied to the profile's respawn duration, although that's not a great idea so it will be changed in the next update.

  • Like 1

Share this comment


Link to comment

Working perfectly in 1.0.3

Thanks for the hard work, I can imagine that having your release schedule brought forward caused some real headaches.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.5k

Customers

Total customers served.

78.6k

Files Sold

Total number of files sold.

1.5m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.