I have try in different mode but dont run,
so help is needed.
this is my script, i have take parts from different source but this dont help me.
there are problem with check condition...anyone can show me where is the error?
file is attach with tag and text..sorry but in copy-paste all the formatting it was lost.
thank a lot
help for script in rorazan daily
-
- Posts: 31
- Joined: Tue Apr 09, 2013 12:15 pm
help for script in rorazan daily
- Attachments
-
- Roz_alfa.xml
- dem of battle
- (4.55 KiB) Downloaded 184 times
Last edited by supermario on Wed Jun 12, 2013 2:48 am, edited 1 time in total.
Re: help for script in rorazan daily
I don't think you understand what a function is.function checkCondition()
queststate = getQuestStatus("Demonstration");
if queststate == "complete" then
__WPL:setWaypointIndex(__WPL:findWaypointTag("complete"));
end
end
function checkCondition()
queststate = getQuestStatus("Demonstration");
if queststate == "incomplete" then
__WPL:setWaypointIndex(__WPL:findWaypointTag("incomplete"));
end
I tried to think of a way to explain it but I came up with nothing.
Basically when you do this
function Somefunctionname()
end
You create the function with the name of Somefunctionname, it won't actually do the code unless you later call the function using
Somefunctionname()
If you just want to do some code where you are writing it then don't create a function and just do the code, using your code as an example.
Code: Select all
queststate = getQuestStatus("Demonstration");
if queststate == "complete" then
__WPL:setWaypointIndex(__WPL:findWaypointTag("complete"));
end
if queststate == "incomplete" then
__WPL:setWaypointIndex(__WPL:findWaypointTag("incomplete"));
end
Also please try to use code tags when posting code.
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 31
- Joined: Tue Apr 09, 2013 12:15 pm
Re: help for script in rorazan daily
I have update the post with the original file (better).
thank
thank
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 1 guest