Jump to content

Quest for change lvl 105 => 104


Recommended Posts

  • Honorable Member

I didn't tested it, but i think it will work..

quest change_level begin
	state start begin
		when ITEM_ID.use begin
			if pc.get_level() == 105
				say("Do you really change your level?")
				local select=select ("Yes", "No")
					if 1==select
						say("Your level was changed")
						pc.set_level(104)
						return
					end
					if 2==select
						return
					end
			else
				return
			end
		end
	end
end
	

plechi-frost-dungeon.gif

Link to comment
Share on other sites

  • 5 months later...

I didn't tested it, but i think it will work..

quest change_level begin
	state start begin
		when ITEM_ID.use begin
			if pc.get_level() == 105
				say("Do you really change your level?")
				local select=select ("Yes", "No")
					if 1==select
						say("Your level was changed")
						pc.set_level(104)
						return
					end
					if 2==select
						return
					end
			else
				return
			end
		end
	end
end
	

 

 

 

Your quest don't work with game 40k :s

Error :

 

if pc . get_level ( ) == 105

say ( "Do you really change your level?" )

local select = select ( "Yes" , "No" )

if 1 == select

say ( "Your level was changed" )

pc . set_level ( < span class = "searchlite" > 104 < / span > )

return

end

if 2 == select

return

end

else

return

end

syntax error : [string "start"]:2: `then' expected near `say'

Abort trap (core dumped)

 

 

 

Help me :)

Link to comment
Share on other sites

quest change_level begin
    state start begin
        when ITEM_ID.use begin
            if pc.get_level() == 105 then
                say("Do you really change your level?")
                local select=select ("Yes", "No")
                    if 1==select
                        say("Your level was changed")
                        pc.set_level(104)
                        return
                    end
                    if 2==select
                        return
                    end
            else
                return
            end
        end
    end
end
    

try it like this

Link to comment
Share on other sites

quest change_level begin
    state start begin
        when ITEM_ID.use begin
            if pc.get_level() == 105 then
                say("Do you really change your level?")
                local select=select ("Yes", "No")
                    if 1==select
                        say("Your level was changed")
                        pc.set_level(104)
                        return
                    end
                    if 2==select
                        return
                    end
            else
                return
            end
        end
    end
end
    

try it like this

 

 

Don't work :s

 

Error :

 

if pc . get_level ( ) == 105 then

say ( "Do you really change your level?" )

local select = select ( "Yes" , "No" )

if 1 == select

say ( "Your level was changed" )

pc . set_level ( 104 )

return

end

if 2 == select

return

end

else

return

end

syntax error : [string "start"]:5: `then' expected near `say'

Abort trap (core dumped)

 

 

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. 0

      Target Information System

    2. 1

      Feeding game source to LLM

    3. 2

      anti exp explanation pls

    4. 1

      Feeding game source to LLM

    5. 2

      anti exp explanation pls

    6. 0

      [GR2] Positioning an object added with "Attach"

    7. 1417

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

  • 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.