Zelda posted: (5th Jan 2012, 09:02 pm)
Look, Let me explain everything: I want the quest ID to be number 1 and only one! I changed my character 257 to quest script 1 in editpub... I setted the file name as 00001.eqf, restarted the server and it **** doesn̫̉t work! What the fuck is happening???????
Main
{
questname "Your First Kill"
version 1.0
}
state Begin
{
desc "Talk to Honai"
action AddNpcText(1, "Hello My name is Honai");
action AddNpcText(1, "I will teach you how to start your adventure young Kokiri");
action AddNpcText(1, "Kill one rat for me, Pressing CNTRL to kill them. ");
action AddNpcInput(1,1,"I know how to do it OK!?");
action AddNpcInput(1,2,"Ok, but I want extra exp!");
rule InputNpc(1) goto Coward
rule InputNpc(2) goto KillRat
}
state KillRat
{
desc "Kill 1 Rat"
rule KilledNpcs(2,1) goto TalkToHonai
}
state TalkToHonai
{
desc "Talk to Honai"
action AddNpcText(1, "Well Done young one. Here is your Reward!");
action AddNpcInput(1) Accept Reward
rule InputNpc(1) goto Reward
}
state Reward
{
action GiveExp(300);
action ShowHint("You have gained 300 Exp!")
action End();
}
state Coward
{
action AddNpcText(1, "ok, Good Luck, more exp for me!");
action Reset();
}
Look at the input in State TalktoHonai.
Look, you forgot to add a semicolon to the end of your ShowHint action.
EDIT- If you ever need help with quests, Zelda, feel free to pm me.