"A Greeting Cardian" work in progress
"A Greeting Cardian" work in progress
Hi all. My first attempt at scripting and so far it has been going...slowly. Until today when I hit a brick wall. I should have the quest mostly finished, and my test character has the correct pre-requisites complete. The start NPC only displays the default dialog instead of launching the quest when the pre-requisites are met so I am confused as to where to turn next. Is anyone willing to check my work for anything obvious? I am definitely a novice and I always get tripped up on small things whenever I try to code anything. Any help would be appreciated!
-EDIT- Removed .zip file
-EDIT- Removed .zip file
Last edited by ik2012 on Mon Dec 17, 2012 10:45 am, edited 1 time in total.
-
- Developer
- Posts: 707
- Joined: Sun Jul 22, 2012 12:11 am
Re: "A Greeting Cardian" work in progress
Code: Select all
if (C2000 == QUEST_COMPLETED and AGreetingCardian == QUEST_AVAILIABLE and player:getFameLevel (WINDURST) >= 3) then
Re: "A Greeting Cardian" work in progress
Yuuuup! See what relying on spell check for years gets you kids? Quest appears to be working now, it flags and progresses as it should, just waiting on "JP Midnight" now to move it forward. Updated files are attached. Thanks bluekirby!
- Attachments
-
- A Greeting Cardian.zip
- (4.84 KiB) Downloaded 266 times
-
- Posts: 238
- Joined: Wed Sep 05, 2012 10:48 am
Re: "A Greeting Cardian" work in progress
Nice work, welcome to the project.
Re: "A Greeting Cardian" work in progress
Thanks, glad to be here
Re: "A Greeting Cardian" work in progress
Nice job! At the end of the quest please be sure to remove the player variables unless they need to hang on for some reason or another.
In onEventFinish() of Kororo.lua:
In onEventFinish() of Kororo.lua:
Code: Select all
player:setVar("AGreetingCardian_Event",0);
player:setVar("AGreetingCardian_timer",0);
-- Whasf
Re: "A Greeting Cardian" work in progress
Hey thanks for the add.
I did notice that Kopuro-Popuro has some supplemental text before the quest finishes, I was going to access that event variable in his script to offer that for the players. I am working on his script now to finish the next two quests in the line. I will definitely keep that in mind as I go forward though
I did notice that Kopuro-Popuro has some supplemental text before the quest finishes, I was going to access that event variable in his script to offer that for the players. I am working on his script now to finish the next two quests in the line. I will definitely keep that in mind as I go forward though
-
- Posts: 238
- Joined: Wed Sep 05, 2012 10:48 am
Re: "A Greeting Cardian" work in progress
I'll run through this soon so I can be one step closer to Scentless Armlets ^^
Re: "A Greeting Cardian" work in progress
I'll have that quest up by the end of the week, if not tomorrow.