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

Magic effect teleport

George00

propro
Joined
Jan 11, 2014
Messages
163
Solutions
1
Reaction score
10
Location
propro
Code:
function onThink(interval, lastExecution)
local teleportpos1 = {x=996, y=1004, z=7, stackpos=1}
    doSendAnimatedText(teleportpos1, "VIP HUNTS", math.random( 1, 65 ) )
    doSendMagicEffect(teleportpos1, math.random( 1, 50 ) )
return TRUE
end

This is the script that i currently use and its working great but its just one effect i dont want to be in the script and i dont know where to find its magiceffect id? its like a gyrados svimming and it creates water around it which covers tiles

https://imgur.com/a/GiPrZ
 
doSendMagicEffect(teleportpos1, math.random( 1, 50 ) )
that mean effect will be from 1 to 50 will change every time u can change it to
doSendMagicEffect(teleportpos1, 30 )
that will make one effect
 
From what you've said, you simply want to exclude the animation for the swimming serpent, right?

You could do it like this
Code:
function onThink(interval, lastExecution)
    local teleportpos1 = {x = 996, y = 1004, z = 7, stackpos = 1}
    doSendAnimatedText(teleportpos1, "VIP HUNTS", math.random(1, 65))
    local magic_effect = 0
    repeat
        magic_effect = math.random(1, 50)
    until magic_effect ~= 33
    doSendMagicEffect(teleportpos1, magic_effect)
    return true
end
 
Back
Top