• 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 with effect always

You want an effect keep showing on player with certain outfit? TFS version?
 
Add this to your data/globalevents/scripts
Lua:
function onThink(interval)
for _, cid in ipairs(getPlayersOnline()) do
  if getCreatureOutfit(cid).lookType == 128 then
   doSendMagicEffect(getThingPos(cid),61)
end
end
return true
end
and this to your data/globalevents/globalevents.xml
XML:
<globalevent name="setEffect" interval="10000" script="scriptnamehere.lua"/>
 
Back
Top