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

TFS 1.X+ tfs 1.3 for 8.6 how can i put skull in a monster?

roriscrave

Advanced OT User
Joined
Dec 7, 2011
Messages
1,210
Solutions
35
Reaction score
206
Hi, i tried to put skull in a monster, but he lost the skull:
local monster = Game.createMonster("Demon", position, true, true)
monster:setSkull(3)
also tried add in xml
Code:
skull ="3"
and tried
<flag skull="3"/> that returns a error Unknown flag attribute: skull.
not work too
 
Last edited:
skull belongs in the first line the monster is defined in, where the health, exp, speed, etc are defined.
 
skull belongs in the first line the monster is defined in, where the health, exp, speed, etc are defined.
Code:
<monster name="Amazon" skull="black" nameDescription="an amazon" race="blood" experience="60" speed="180" manacost="390">
Code:
<monster name="Amazon" skull="3" nameDescription="an amazon" race="blood" experience="60" speed="180" manacost="390">
nothing appears
 

If you have all of this and it's not working, I don't know what to tell you, must be some edit you've done.
 

If you have all of this and it's not working, I don't know what to tell you, must be some edit you've done.
yeah i have it all.
Code:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    local summon = Game.createMonster("Amazon", Position(1076, 898, 7), true)
    summon:setSkull(3)
    return true
end
when I use a lever it is born with a white skull, but if I leave and come back from the amazon screen, it will have no skull more
ps: the same error a player have in this topic
 
Last edited:
Back
Top