Jump to content

Why is this quest not working


Recommended Posts

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

 

  • Sad 2
Link to comment
Share on other sites

  • Premium

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
  • Sad 1
Link to comment
Share on other sites

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.

  • Sad 1
Link to comment
Share on other sites

  • Premium

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 4

      Feeding game source to LLM

    2. 0

      Quest 6/7 Problem

    3. 5

      Effect weapons

    4. 0

      [C++] Fix Core Downer Using Negative Number in GM Codes

    5. 3

      Crystal Metinstone

    6. 4

      Feeding game source to LLM

    7. 113

      Ulthar SF V2 (TMP4 Base)

    8. 4

      Feeding game source to LLM

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.