[Release] (Test Your Quests) - Mini-Quest zum ändern der Questflags

02/28/2015 17:17 rollback#1
Ist für mich immer wieder nützlich wenn ich gerade an Quests arbeite bei denen ich Questflags mit z.B. Restkills etc. habe, deswegen möchte ich sie mit Euch teilen. Ist nichts besonderes aber mMn extrem hilfreich.

In die Input-Felder kann gibt man einfach Questname, Flagname und Wert ein und schon setzt ihr den Questflag neu.

PHP Code:
quest setflags begin
    state start begin
        when 20355.chat
."Set the states" with pc.name == "[Sensenmann]" begin
            say
("quest?")
            
local whichquest input()
            
say("questflag?")
            
local whichflag input()
            
say("wert?")
            
local towhat input()
            if 
whichquest != "" and whichflag != "" and towhat != "" then
                pc
.setf(whichquestwhichflagtonumber(towhat))
                
say("gesetzt!")
            else
                
say("stopped")
            
end
        end
    end
end 
Viel Spaß damit!
03/01/2015 09:32 .Risan.#2
command ingame: /setqf quest flag wert
03/01/2015 20:03 Lefloyd#3
Quote:
Originally Posted by .Risan. View Post
command ingame: /setqf quest flag wert
Correction: /setqf quest.flag wert

Anyways you're right; I'd prefer the command but probably the TE didn't know about it :)

For anyone who is developing quests and want to know: there is another command called
Code:
/set_state quest state
03/01/2015 20:05 rollback#4
Quote:
Originally Posted by Lefloyd View Post
Correction: /setqf quest.flag wert

Anyways you're right; I'd prefer the command but probably the TE didn't know about it :)

For anyone who is developing quests and want to know: there is another command called
Code:
/set_state quest state
Wusste ich noch nicht ... :D Ist natürlich viel einfacher so. Danke für den Hinweis :)