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

Lua question - Animated text tfs 1.1

FLE

Member
Joined
Oct 5, 2008
Messages
422
Reaction score
24
Location
Vancouver Canada
So I have a quick question..

Is it possible too make get.spectator see by TEXTCOLOR_ ?

because I see here im using zbizus wild growth and mwall scripts and he uses TEXTCOLOR_ for the timers...
here is the his script- tile_timer(id,pos,40,TEXTCOLOR_LIGHTGREEN)
Code:
local id = ITEM_WILDGROWTH
local combat = Combat()
combat:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_EARTH)
combat:setParameter(COMBAT_PARAM_CREATEITEM, id)

function onCastSpell(creature, var, isHotkey)
    local c = combat:execute(creature, var)
    if c then
        local pos = variantToPosition(var)
        addEvent(removeMw, 40000, pos, id)
        tile_timer(id, pos, 40, TEXTCOLOR_LIGHTGREEN)
    end
    return c
end

Can we make animated text using these TEXTCOLORS?

please explain if possible,

Thanks,
-Martin
 
Back
Top