• 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.0 Talking TP Signs

Frostie

Mapper/basic scripter (NL)
Joined
Feb 14, 2012
Messages
447
Reaction score
425
Location
Holland
Could someone make a script for talking tp sign for TFS 1.0 because i cant get it working :(
 
Tried all of them already its just the console dont give any errors ill see the effects but i dont see the docreaturesay text
 
Yeah tried already but didn't worked. I can't find any solution to fix it. Its just showing the effects and not the orange text u get with the function docreaturesay.
 
Try this
Code:
local t = {
    {"test", {x=1000, y=1000, z=7}, CONST_ME_TELEPORT},
    {"test2", {x=1001, y=1000, z=7}, CONST_ME_GIFT_WRAPS},
    {"test3", {x=1002, y=1000, z=7}, CONST_ME_POFF}
}

function onThink(interval)
    local people = getOnlinePlayers()
    if #people == 0 then
        return true
    end

    for i = 1, #t do
        local v = t[i]
        doCreatureSay(people[1], v[1], TALKTYPE_ORANGE_1, false, 0, v[2])
        doSendMagicEffect(v[2], v[3])
    end
    return true
end
 
Try this
Code:
local t = {
    {"test", {x=1000, y=1000, z=7}, CONST_ME_TELEPORT},
    {"test2", {x=1001, y=1000, z=7}, CONST_ME_GIFT_WRAPS},
    {"test3", {x=1002, y=1000, z=7}, CONST_ME_POFF}
}

function onThink(interval)
    local people = getOnlinePlayers()
    if #people == 0 then
        return true
    end

    for i = 1, #t do
        local v = t[i]
        doCreatureSay(people[1], v[1], TALKTYPE_ORANGE_1, false, 0, v[2])
        doSendMagicEffect(v[2], v[3])
    end
    return true
end


Worked, thanks alot
+rep
 
Back
Top