Moj mistrz
Monster Creator
Hello, as the title says. Condition is not randomizing outfits, only when I reload actions it does change outfit, but anyways, that's not the solution.
Piece of code:
Any help is appreciated.
Piece of code:
Code:
local condition1Outfits = {47, 89, 91, 120, 232, 246, 305, 311, 320}
local condition1 = Condition(CONDITION_OUTFIT)
condition1:setTicks(60 * 60 * 1000)
condition1:setOutfit({lookType = condition1Outfits[math.random(#condition1Outfits)]})
Any help is appreciated.