Jump to content
  • 0

[source request] createnpc command


Question

Posted

Hello there!

 

I'd like to know wether it would be possible to use kind of a createnpc command.

Someting like 'createnpc <map name>,<x>,<y>,<facing>%TAB%script%TAB%<NPC Name>%TAB%<sprite id>,{<code>}'

 

I have no idea wether this is possible or not, maybe i should have posted this in the support section. Sorry if that's the case.

 

Thanks in advance /no1

5 answers to this question

Recommended Posts

Posted

There's really no need for a command like this, you wouldn't really want another GM to have access to something like this normally and if you trusted someone enough to have it you could give them server file access.  But you can write any npc you want while the server is active and just use @reloadscript, creates a very slight delay and your npc is loaded.  

 

What exactly do you want this for?

Posted

It's not easy to explain but I would like to make kind of an interactive place where NPCs could spawn according to items.

If I had the possibility to create a NPC using a command, I wouldn't have to make a lot of them in advance knowing that most of them will be inactive.

 

I expected that answer but I just wanted to make sure ^^

Posted (edited)

Well you could create them in a singular location and use an @disablenpc and @enablenpc script based on the items?

 

PM me, tell me a bit about what you're trying to do, between the two of us we could work a solid script I'm sure.

Edited by Terrinigma

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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