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

Solved Need Tp with disteffect

Deus Meus

New Member
Joined
May 18, 2014
Messages
120
Reaction score
1
Hi Guys
Hello could someone tell me how to do this effect because most d elo I looking for are only 1 sqm as this could edit something haci saw a otserver called spider-ot
picture:
OxV2FHL.png
 
Not sure if this will work on yours as its tested on 0.3.6 but here.
Code:
    <globalevent name="TeleportEffect" interval="5000" script="TeleportEffect.lua"/>
Code:
local Effect = CONST_ME_TELEPORT
local DistanceEffect = CONST_ANI_ENERGYBALL
local position = {x=1095, y=1065, z=6}

function onThink (cid, interval, lastExecution)
        doSendDistanceShoot(position, {x = position.x + 1, y = position.y + 1, z = position.z}, DistanceEffect)
        doSendDistanceShoot(position, {x = position.x - 1, y = position.y - 1, z = position.z}, DistanceEffect)
        doSendDistanceShoot(position, {x = position.x + 1, y = position.y - 1, z = position.z}, DistanceEffect)
        doSendDistanceShoot(position, {x = position.x - 1, y = position.y + 1, z = position.z}, DistanceEffect)     
        doSendMagicEffect({x = position.x + 1, y = position.y + 1, z = position.z}, Effect)
        doSendMagicEffect({x = position.x - 1, y = position.y - 1, z = position.z}, Effect)
        doSendMagicEffect({x = position.x + 1, y = position.y - 1, z = position.z}, Effect)
        doSendMagicEffect({x = position.x - 1, y = position.y + 1, z = position.z}, Effect)
    return true
    end
C5BjHxZ.png

http://otland.net/threads/teleport-distance-effects.225899/
 
Last edited:
@Deus Meus

Your welcome if you need any help with scripts that are semi easy or what ever it may be just use @ my name and it will tag me and ill get a notification on your status and ill be glad to help out.
 
Back
Top