• 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!

Outfit

GregoryJ

New Member
Joined
Sep 8, 2013
Messages
21
Reaction score
0
Hi,

Anyone knows how to load outfit into miniwindow? just the current outfit you are wearing.. not option to change outfit

thank
 
i tried adding this to my character otui file:

Code:
  Creature
  id: outfitCreatureBox
  anchors.top: parent.top
  anchors.left: parent.left
  margin-top: 15
  margin-left: 22
  padding: 4 4 4 4
  fixed-creature-size: true

and in the lua

Code:
function create(creatureOutfit)

outfitCreature = creatureOutfit

outfitCreature = creatureOutfit
  local outfitCreatureBox = characterWindow:getChildById('outfitCreatureBox')
  if outfitCreature then
  outfit = outfitCreature:getOutfit()
  outfitCreatureBox:setCreature(outfitCreature)
  end
end

and it just displays the box without any contents.. anyone know what i'm missing here?
 
Back
Top