• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

How to use AND - && xml?

oliverarrow

Member
Joined
Jul 31, 2015
Messages
82
Reaction score
6
I want put AND - && in my outfits.xml

For exemple
Code:
  <outfit id="13" quest="666,40001">
     <list gender="0" lookType="156" name="Assassin" />
     <list gender="1" lookType="152" name="Assassin" />
   </outfit>

Need storage 666 and storage 40001

But ,,,,,, in outfit.xml is OR
 
You don't. Why would you want it anyways? Just internally only set that storage value when both conditions are met.
 
Upon login, if player has storage 666 set and storage 40001 set, then set storage X to 1.

Now on outfits XML use storage X instead.
 
if your distribution your using only has 1 storage tag for an outfit element.. then no, you can NOT put 2 storages in that xml file without editing the outfit file in your sources, just copy+paste and do storage1, storage2, if you dont wanna edit sources you have to do a login creaturescript script like Lordfire suggested.. Workarounds :D
 
Last edited:
Back
Top