January 25, 20188 yr hey guysi have a problem with the following quest stepI want to interact with an object and then press a buttonso far no problem after pressing the button he should jump to the next quest step but he does not do that he repeats the stepsI need a condition that he jumps to the next step if when he has pressed the button does anyone know how to do that?here the SharpCode var npcPos = new Vector3(450.2473f, 1446.444f, 741.041f); var npcID = 273292; npcPos = new Vector3(450.2473f, 1446.444f, 741.041f); npcID = 273292; GoToTask.ToPositionAndIntecractWithGameObject(npcPos, npcID, 1); Thread.Sleep(3000); Lua.LuaDoString ("QuestChoiceFrameOption1.OptionButton:Click()"); Thread.Sleep(1000); return true; and in the FullCSharpCode can i make a threadsleep timer after use a item on Npc? public sealed class AnOfferingofLight : QuestUseItemOnClass { public AnOfferingofLight() { Name = "An Offering of Light"; QuestId.Add (48559); Step.AddRange(new[] { 1, 0, 0, 0 }); HotSpots.Add(new Vector3(409.9177f, 1426.398f, 741.7526f)); ItemId = 152593; Range = 5 ; EntryIdTarget.Add(126700); Thread.Sleep(8000); // Time to wait after using the Item?? } } thanks for help best regards createdby Edited January 25, 20188 yr by createdby
January 27, 20188 yr If you put quest id, wrobot don't go to next step if quest objective is not completed. How WRobot can know when he need to go to next step?
January 27, 20188 yr Author ok that's logicalbut how is that with my first example there I did not use a quest id
Create an account or sign in to comment