Hi, sorry for my bad english but i have a little question for you
There's a way to reset the "Top Players" rankings?
Thats a very short question
!
the rankings are calculated based on the quest points value that is kept on the XmlQuestPoints attachment on each player. To refer to attachment properties you can use the ATTACHMENT keyword with the xmlset command.
QUOTE |
- the SET series of keywords (this includes SET, SETONMOB, SETONTRIGMOB, SETONCARRIED, SETONSPAWN) now supports assigning properties on attachments. Whereever a property would normally be specified for those keywords, the new property keyword ATTACHMENT,type,name,property can be used. For example, to set the value property to 34 on an xmlvalue attachment with the name XS on a triggering mob you would specify "SETONTRIGMOB/ATTACHMENT,xmlvalue,XS,value/34" (See attachtest3.xml for examples). The attachment properties can basically be treated as extensions of the target object's properties.
|
So you can set the points back to zero on all players with a command like
[global xmlset ATTACHMENT,xmlquestpoints,,points 0 where playermobile
...and to erase all the "Top Players" and "Quest Log" attachments?
(im talking about the quests completed counter,credits ecc. ecc.)
Especially how to remove from the list a "not repeatable quest" to do it again?
the information about quest repeatability is maintained on xmlquestattachments. To remove them and allow quests to be repeated again use
[global delatt xmlquestattachment where playermobile
to remove all of the xmlquestpoints attachments that maintain information about quest points and credits
[global delatt xmlquestpoints where playermobile
from xmlspawner2.txt
QUOTE |
- added support for the use of modifiers like global, multi, area, etc. with the addatt and delatt commands that add and delete attachments from objects (thanks to Vento Divino for the suggestion). So to add a particular attachment to all players you could do something like
[global addatt xmldata datavalue where playermobile
and to remove those attachments you could use
[global delatt xmldata where playermobile
|
You could also use [xmlfind to do this. Just enter in the attachment type in the 'attachment type' field and do a search. Then select the attachments you want to remove and hit the 'Delete' button.