Page 1 of 1
Simples question from a beginner
PostPosted: Wed Sep 02, 2015 1:52 pm
by doluser
i downloaded this user files
ProcNPC.cs
ProcNPC2.cs
copied it into
\scripts\customnpc
now i loged in with the game client, and dont know how to spawn the npcs.
can anyone tell me how it works?
Re: Simples question from a beginner
PostPosted: Thu Sep 03, 2015 11:15 am
by HunabKu
you need to user somtink like
- Code: Select all
/mob create DOL.GS.ProcNPC
/mob create DOL.GS.ProcNPC2
verify the "class path" in the files
Re: Simples question from a beginner
PostPosted: Fri Sep 04, 2015 7:57 am
by doluser
hm doesent work
"there was an error creating an instance of DOL.GS.ProcNPC"
im searching in notepad ++ for class path but no results
script is starting with this code
- Code: Select all
namespace DOL.GS.Scripts
{
[NPCGuildScript("Proc NPC")]
public class ProcNPC : GameNPC
{
public string TempProperty = "ProcNPC1";
public override bool AddToWorld()
Re: Simples question from a beginner
PostPosted: Fri Sep 04, 2015 9:07 am
by Shadexx
Did you read the script ?
It says everything you need.
"Scripts" is missing.. so:
DOL.GS.Scripts.ProcNPC
Re: Simples question from a beginner
PostPosted: Sat Sep 05, 2015 5:26 am
by HunabKu
So you need to type
/mob create DOL.GS.Scripts.ProcNPC
Re: Simples question from a beginner
PostPosted: Sat Sep 05, 2015 6:32 am
by doluser
thank you hanabku