The names are not the same. The tests are case sensitive.
Galfaroth- 02-03-2006
Yeah... you're right... Now the end of my quest: SETONTRIGMOB/Title/ - shade/Oboz/1/Ranga/1/ATTACH/xmlquestattachment,WObozie,21600;TAKE/Proba Cienia,questholder Bolded part doesn't work. Why? (it should destroy this questholder, because quest is done).
ArteGordon- 02-03-2006
the syntax for the TAKE keyword is
TAKE[,prob[,quantity[,true,[itemtype]]]]/itemname
so you could do
TAKE/Proba Cienia
or if you wanted to make sure that it only looked for questholders by that name
TAKE,1,1,false,questholder/Proba Cienia
the true/false arg to TAKE indicates whether the bank should also be searched.
Galfaroth- 02-04-2006
Okay it works. Another question . 1. This is my Condition: GETONTRIGMOB,Rasa= 1 & GETONTRIGMOB,Oboz= 1 & (GETONTRIGMOB,Wins= 0 | GETONTRIGMOB,Loses= 0)Why doesn't it trigger (without paranthesis it trigger...). 2. How to make in condition that it is true if player is not carrying some item/attachment e.g: GETONCARRIED,Zadanie Thorusa,questholder,name="Zadanie Thorusa" So if player has this questholder it can't trigger (I know there is NoTrigOnCarried (for whole quest) but I wan't to set my own conditions for specific entries).
ArteGordon- 02-04-2006
QUOTE
1. This is my Condition: GETONTRIGMOB,Rasa= 1 & GETONTRIGMOB,Oboz= 1 & (GETONTRIGMOB,Wins= 0 | GETONTRIGMOB,Loses= 0) Why doesn't it trigger (without paranthesis it trigger...).
the compound conditional tests do not support grouping with parentheses. Tests are implicitly grouped using the following form
2. How to make in condition that it is true if player is not carrying some item/attachment e.g: GETONCARRIED,Zadanie Thorusa,questholder,name="Zadanie Thorusa" So if player has this questholder it can't trigger (I know there is NoTrigOnCarried (for whole quest) but I wan't to set my own conditions for specific entries).
The idea is to test for something that you know will be true if the item exists, and then use the NOT operator
Galfaroth- 02-04-2006
And last condition that isn't triggering: GETONCARRIED,,gold,amount > 104 (it should check if player has more than 104 gold and if so it triggers (usable for make our questnpcs to sell us sth (e.g for delivery quests)).
ArteGordon- 02-04-2006
you should use the AMOUNTCARRIED keyword instead.
QUOTE
- added the new "AMOUNTCARRIED,itemtype" keyword that will return the total amount of the specified type of item being carried in the backpack of the triggering mob. You can use this to test for carried items like
IF/AMOUNTCARRIED,gold < 100/33
or add it to a Condition field in xmldialogs or in a triggering condition test on spawners
AMOUNTCARRIED,bandage>100
Checking the amount using GETONCARRIED will not return the correct amounts if there are multiple stacks or multiple items.
Galfaroth- 02-05-2006
Backing to my condition: GETONTRIGMOB,Rasa = 1 & ( GETONTRIGMOB,Oboz = 0 & ( GETONTRIGMOB,Wins = 0 | GETONTRIGMOB,Loses = 0 ) ) doesn't trigger... And another: ~GETONTRIGMOB,[ATTACHMENT,xmlquestattachment,DexterDiego,name]=DexterDiego should trigger only if player hasn't this attachement...
ArteGordon- 02-05-2006
you cannot place parentheses in the string. It has to look like
Okay I've done about 10 quests, thanks Arte Now players can play Gothic I on my UO shard. Now I need a command for trigger dialog if player is actually escorting named mob. E.G. To trigger some dialog player must escort mob named Lester. If he escorts him, dialog starts. Is there sth like: GETONTRIGMOB,Escortermobname,name = "Lester" blah blah? Or could you make it in new release?