01-07-2014, 01:44 AM
As far as I know, Quests(1-20).lua - VIP feature, and work not so good.
I'm "making" scripts for free-licence users,
and need some help because my LUA knowledge is not so good
first stuck at Q6.lua (Q1-Q5 after changing - working correct)
different races - different NPC, so not good way - make dialogues with all NPC
i'm need correct syntax for check players race
simple its look:
if my.char.race = human -> speak with NPC1
if my.char.race = orc -> speak with NPC2... etc
ty. i'm going to sleep and tomorrow i will continue little script changing & testing
I'm "making" scripts for free-licence users,
and need some help because my LUA knowledge is not so good
first stuck at Q6.lua (Q1-Q5 after changing - working correct)
Code:
TargetNpc("Cindet", 32148);
Talk();
ClickAndWait("talk_select", "Quest");
different races - different NPC, so not good way - make dialogues with all NPC
i'm need correct syntax for check players race
simple its look:
if my.char.race = human -> speak with NPC1
if my.char.race = orc -> speak with NPC2... etc
ty. i'm going to sleep and tomorrow i will continue little script changing & testing