asierus
Regular

hello, i hope someone can help me with a problem i got while making a quest.
i have all dialogs and the quest done and working, i even can get the quest complete , but i cannot get to work the part were you can fail it.
im using modulesys
this is the part of the dialog code where the action start:
[trp_wo_Rebel2,"start", [(eq,"$wo_recruiter2_duel",1)], "See you outside tonight, we will see who is best suited to be The Inquisitor..!.", "close_window",[(assign,"$wo_recruiter2_duel",3),(remove_troop_from_site,"trp_wo_Rebel2","scn_castle_49_interior")]], <---- this activates $wo_recruiter2_duel",3 which sets of a trigger to spawn a party and deletes the bad guy from the scene where you find him.
then when you get out and wait some hours until night ( this is made by trigger) he and his friends spawn and attack the player
and on encounter this dialog occur:
[party_tpl|pt_white_order_rebels|auto_proceed,"start", [(eq,"$wo_recruiter2_duel",3,tc_party_encounter),(encountered_party_is_attacker),],"You! Come here we have things to discuss idiot!.", "close_window",[(assign,"$wo_recruiter2_duel",4)]], <---- this sets (assign,"$wo_recruiter2_duel",4)l which is a temporary condition to end the quest via dialog with other npc and starts the battle with that party.
all this work fine, but i want to make that depending if you win or loose the battle with that party you get (assign,"$wo_recruiter2_duel",4) if you win to be able to complete the quest or (assign,"$wo_recruiter2_duel",5) to fail it.
i even have a trigger rdy to start when $wo_recruiter2_duel",5 is set that removes the enemy party after you has been released prisoner giving you only 1 chance of defeating him. only need to set the win/loose part which i cant find anywhere
and even better if someone can tell me too if i can make that party not allowed to take player prisoner.
can even be done¿
if yes how i can do it?
thanks in advance
i have all dialogs and the quest done and working, i even can get the quest complete , but i cannot get to work the part were you can fail it.
im using modulesys
this is the part of the dialog code where the action start:
[trp_wo_Rebel2,"start", [(eq,"$wo_recruiter2_duel",1)], "See you outside tonight, we will see who is best suited to be The Inquisitor..!.", "close_window",[(assign,"$wo_recruiter2_duel",3),(remove_troop_from_site,"trp_wo_Rebel2","scn_castle_49_interior")]], <---- this activates $wo_recruiter2_duel",3 which sets of a trigger to spawn a party and deletes the bad guy from the scene where you find him.
then when you get out and wait some hours until night ( this is made by trigger) he and his friends spawn and attack the player
and on encounter this dialog occur:
[party_tpl|pt_white_order_rebels|auto_proceed,"start", [(eq,"$wo_recruiter2_duel",3,tc_party_encounter),(encountered_party_is_attacker),],"You! Come here we have things to discuss idiot!.", "close_window",[(assign,"$wo_recruiter2_duel",4)]], <---- this sets (assign,"$wo_recruiter2_duel",4)l which is a temporary condition to end the quest via dialog with other npc and starts the battle with that party.
all this work fine, but i want to make that depending if you win or loose the battle with that party you get (assign,"$wo_recruiter2_duel",4) if you win to be able to complete the quest or (assign,"$wo_recruiter2_duel",5) to fail it.
i even have a trigger rdy to start when $wo_recruiter2_duel",5 is set that removes the enemy party after you has been released prisoner giving you only 1 chance of defeating him. only need to set the win/loose part which i cant find anywhere
and even better if someone can tell me too if i can make that party not allowed to take player prisoner.
can even be done¿
if yes how i can do it?
thanks in advance
