Jump to content
  • 0

[Help] How to spawn multi NPCs by auto script?


Question

Posted

[Help] How to spawn multi NPCs by auto script?

Im tired to manually spawn each NPCs. And when I re-install server Database, I will need to manually spawn each NPCs again...

 

3 answers to this question

Recommended Posts

  • 0
Posted

Given the fact adding manually a spawn write it in the bottom of the database, you could simply export your database under SQL format, extract your edits and save them in a separate SQL file you could keep safe somewhere.

 

A method involving script would lead to a lower performance than adding it directly on database (cause either you can spawn in hard, but it means you must check that spawn doesn't already exist, or you will spawn temporarly and the script will do that every server launch).

 

About script, what can I say more except : "addSpawn". Check exemples to get more infos about method parameters/use.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock