Author | Message | ||||
---|---|---|---|---|---|
Can't get my traveler working
| So it says my error is with state : Begin. What can I change that to if I want it to function properly, and how can I make Tundra properly require 45? Main { questname "Delos Traveler" version 1.0 } state Begin { action AddNpcText(6, "I can warp you to various places"); action AddNpcText(6, "Where would you like to travel to [name]?"); action AddNpcInput(6, 1, "Tutorial"); action AddNpcInput(6, 2, "Sheep"); action AddNpcInput(6, 3, "Haunted House"); action AddNpcInput(6, 4, "Tundra");
rule InputNpc( 1 ) goto Tutorial rule InputNpc( 2 ) goto Sheep rule InputNpc( 3 ) goto HauntedHouse rule InputNpc( 4 ) goto Tundra rule IsLevel(45); } state Tutorial { action SetCoord(4,5,15); action Reset(); } state Sheep { action SetCoord(6,0,16); action Reset(); } state HauntedHouse { action SetCoord(9,13,28); action Reset(); } state Tundra { action SetCoord(10,21,9); action Reset(); }
|
Re: Can't get my traveler working
| This is causing your error. I'm assuming you want this location to have a level 45 requirement. rule InputNpc( 4 ) goto Tundra rule IsLevel(45); Something like this should work.
|
Re: Can't get my traveler working
| Deaven posted: (11th Dec 2016, 05:11 am) That worked, thank you. :-) |