gweilo321 1 Posted January 16, 2019 Share Posted January 16, 2019 Why is this not working, im tryingto get a letter at he beginning of the game only. i get the letter but when i open it nothing happens quest start begin state start begin when login begin if pc.getqf("starter1") == 0 then pc.setqf("starter1",1) send_letter_ex("Hello", "ex,blink", "scroll_open.tga") set_state( starter ) else return end end end state starter begin when button or info begin say("blabla") end end end 2 Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted January 16, 2019 Premium Share Posted January 16, 2019 You don't need to set a new state to read the letter... Bad quest name, bad indentation, bad idea to block letter send. quest change_quest_name begin state start begin when login with pc.getqf("starter1") == 0 begin send_letter_ex("Hello", "ex,blink", "scroll_open.tga") ---IF DOESN'T WORK USE send_letter("Hello") end when button or info begin pc.setqf("starter1", 1) --BETTER TO BLOCK WHEN THEY READ say("blabla") end end end 1 Link to comment Share on other sites More sharing options...
gweilo321 1 Posted January 16, 2019 Author Share Posted January 16, 2019 20 hours ago, WeedHex said: You don't need to set a new state to read the letter... Bad quest name, bad indentation, bad idea to block letter send. quest change_quest_name begin state start begin when login with pc.getqf("starter1") == 0 begin send_letter_ex("Hello", "ex,blink", "scroll_open.tga") ---IF DOESN'T WORK USE send_letter("Hello") end when button or info begin pc.setqf("starter1", 1) --BETTER TO BLOCK WHEN THEY READ say("blabla") end end end Thanks for the quick reply! For some reason still the message doesnt pop up. The letter does come but when i click the letter the message doesnt pop up. Do you maybe know the reason why? No error while installing the quest +edit Also the i am receiving the letter everytime i relog. 1 Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted January 16, 2019 Premium Share Posted January 16, 2019 send_letter_ex bug If you use send_letter() works? 1 Link to comment Share on other sites More sharing options...
gweilo321 1 Posted January 16, 2019 Author Share Posted January 16, 2019 22 minutes ago, WeedHex said: send_letter_ex bug If you use send_letter() works? Nope, still the same. I tried but im suing send_letter_ex for every other quest i have and it works fine 1 Link to comment Share on other sites More sharing options...
gweilo321 1 Posted January 17, 2019 Author Share Posted January 17, 2019 Anyone? Link to comment Share on other sites More sharing options...
Premium Syreldar 1875 Posted January 18, 2019 Premium Share Posted January 18, 2019 Check your syserrs, or use debug mode so an error pops up ingame, that way you know the reason, if you still can't fix it post the error and i'll help you. "Nothing's free in this life. Ignorant people have an obligation to make up for their ignorance by paying those who help them. Either you got the brains or cash, if you lack both you're useless." Syreldar Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now