• 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+ clones in tfs game 1.4.2

kite28

Member
Joined
May 15, 2012
Messages
69
Reaction score
5
Hello, I'm looking for a code to change the name of the "clone" monster to the name of the player who summons it, I'm using tfs 1.4.2, I can't find it anywhere, could anyone help?
 
monster:rename(name[, nameDescription])

Example:
Lua:
local clone = Game.createMonster("Rat", player:getPosition())
clone:setMaster(player)
clone:rename(player:getName())
 
Back
Top