Jump to content

add NPCs

Closed 1.0.4

Hello,
I'm looking to add NPCs but I don't know how to define positions.
Can you explain it to me?

THANKS

Share this comment


Link to comment

I will use a default setting as an example.

  "Supermarket security guards settings outside": {
    "Minimum": 3,
    "Maximum": 3,
    "List of locations": [
      "(11, 0, 9)",
      "(-11, 0, 7.5)",
      "(8.5, 0, -11)"
    ],

Here we have a min max of 3 and 3 spawn locations.

You can use them as a template there is a pattern to it.

  "Supermarket security guards settings outside": {
    "Minimum": 4,
    "Maximum": 4,
    "List of locations": [
      "(11, 0, 9)",
      "(-11, 0, 7.5)",
      "(8.5, 0, -11)",
      "(8, 0, 11)"
    ],

Here is a set of 4 spawn points and have increased the min max to 4.

You should have an editor or some application that can detect errors in a configuration or plugin file. A validator works if you know of one.


You can also use this command to check your pos to be used in the config. It will give you the POS for the position you are standing in when you run the command.

/supermarketpos

 

Share this comment


Link to comment

Thank you so much Jbird ! 👍

PS : /supermarketpos don't give anything.

Edited by Dad Frog

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83.7k

Files Sold

Total number of files sold.

1.6m

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.