Jump to content

add NPCs

Closed 1.0.4

Dad Frog
Dad Frog

Posted

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

THANKS

Jbird

Posted

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

 

Dad Frog

Posted (edited)

Thank you so much Jbird ! 👍

PS : /supermarketpos don't give anything.

Edited by Dad Frog
Jbird

Posted

Happy to help. :classic_smile:

Are you ensuring the event is running when you are using the command @Dad Frog?

Dad Frog

Posted (edited)

oh ok 😄👍

Edited by Dad Frog
KpucTaJl

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

2m

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.