farmmedal
-
Posts
14 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by farmmedal
-
-
Hey!
Thanks for the answer!
Tried it already, does not work
-
Hey everyone!
I do not know why, I just cannot make my skill group quest working.
Seems like my
pc.set_skill_group()
is not working. But
pc.set_skill_level()
is working.
Also, if I already have Skill group (1) (so a Body warrior), then skill_level is working.
Now it looks something like this:
quest skilltest begin state start begin when 4092.chat."Warr" begin say("lmao") wait() pc.set_skill_group(1) pc.set_skill_level(1 ,1) pc.set_skill_level(2 ,1) pc.set_skill_level(3 ,1) pc.set_skill_level(4 ,1) pc.set_skill_level(5 ,1) end end end
Anyone could help me with that? Did not find anything is the syserr.
-
Thanks! Added you on discord too ^^
I would like to ask you something, because I just cannot make it work:
I do not like the original skill_group quest system - you know, choosing your path of skills.
I would like to make it something like - "You can learn the body path with this npc, and mental path with that npc" - and these npcs only help you learn one specific path.
Tried pc.set_skill_group(), but without a success. (I earned skill points, but got no paths - also, I do not want skill points)
Tried it like this:
quest skillgrouptest begin state start begin when 4092.chat."SkillTest" begin say("lmao") wait() pc.clear_skill() pc.set_skill_group(1) setskin(NOWINDOW) end end end
Tried also like this:
quest skillgrouptest begin state start begin when 4092.chat."SkillTest" begin say("lmao") wait() pc.clear_skill() pc.set_skill_group(0,1) setskin(NOWINDOW) end end end
Could you please help me with this matter? Thanks!
-
Dear caanmasu
It works flawlessly! Thank you very much for your help!
- 1
-
Hey!
Thank your for the answer!
Will try it once I arrive home
-
Thank you for the answer!
Is there any other method to make it work?
-
Yeah sorry, forgot to write the whole sentence. So let me explain it a little bit better:
The first quest's ending (lv1) goes like:
state ending begin when letter begin send_letter("QuestLv1") end when button or info begin say_title("QuestLv1") say("Blah") end when 9001.chat."QuestLv1" begin say_title("Blah") set_quest_state("QuestLv2", "start"); pc.give_exp2(10000) pc.change_money(1200) set_state(subquestifinish) end end state subquestifinish begin end
The second quest starts like:
quest QuestLv2 begin state start begin when login or levelup with pc.get_level() >= 2 begin set_state(questlv2start) end end state questlv2start begin when letter begin send_letter("blah") end when button or info begin say_title("blah") end end end
My problem:
If I level up by gaining the exp from the first quest, then QuestLv2 will not become immediately active, only after a relog. I really hope you understand, what I want to say.
-
Good day to you all!
I have a simple question. My quests work flawlessly, yet I have a little bit of a problem. If I do level up by an exp reward from a previous quest (pc.give_exp2), then the other quests that has the criteria
when login or levelup with pc.get_level() >= 2 begin
does not load. (Of course, it appears after a relog).
I also tried this one:
set_quest_state("samplequest", "start");
but also did not work.
If I use:
set_quest_state("samplequest", "state2");
It loads of course, without taking a look at the criteria (login or levelup) - so the quest starts as soon as this one ends.
Anyone got the idea, why it does not work for me?
Thanks for your help! Cheers
-
I am going to try it right now, thanks!
Edit: Works flawlessly, you have my greatest thanks!
-
Of course, thought of that also, so I used pc.setqf after that - same results
What do you think, what should I use?
-
Good day to you all!
I have got a little problem. I would like my quest to spawn an npc, then purge it - but! - if two players are doing the quest simultaneously, they can only purge "their" npc, they spawned.
I cannot figure out, why this quest is not working for me:
quest npcspawn begin state start begin when letter begin send_letter("NpcSpawn") end when button or info begin local x = (pc.get_local_x()) local y = (pc.get_local_y()) mob.spawn(4001, x+2, y+2, 2, 2, 1) game.set_event_flag("player", pc.get_player_id()) end when 4001.click begin if game.get_event_flag("player") == (pc.get_player_id()) then say("jonapot") wait() say("aviszontlátásra") wait() game.set_event_flag("player", 0) npc.purge() else return end end end end
I just do not understand, why this isnt working. I used the player id as a local number, yet when I tried it with two players, spawned them both and they purged the other else's spawned npc.
Anyone could help me please?
Thanks!
-
Yeah now I got it, thanks. I simply deleted it.
-
Good day to you all!
I would like to ask for your help. Via source, how can I manage to change the skill point the playet gain per level from 1 to 0? (I do not want skill points that way)
I tried it in char.cpp but did not succeed.
Someone please ^^
Quest does not appear after leveling up
in Community Support - Questions & Answers
Posted · Edited by farmmedal
Yeah, the "original" works, tried it. Seems weird to me too. The quest looks like this: