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

little help here

dualshock3

New Member
Joined
May 14, 2010
Messages
89
Reaction score
3
-i was wondering if it is possible so send periodically magic effects in a determined area? (lightnings)
-also if there is a raid that auto spawns creatures that have been killed
 
Globalevent, tell me ID of effect.

Example:

XML:
        <globalevent name="dcqclock" interval="1000.4" script="dcqclock.lua" />
Lua:
function onThink(interval, lastExecution)
pos = {x = 32931, y = 32283, z = 13}
pos1 = {x = 32931, y = 32281, z = 13}
pos2 = {x = 32931, y = 32279, z = 13}
pos3 = {x = 32931, y = 32277, z = 13}
pos4 = {x = 32931, y = 32275, z = 13}
pos5 = {x = 32931, y = 32273, z = 13}
pos6 = {x = 32931, y = 32271, z = 13}
pos7 = {x = 32931, y = 32269, z = 13}
pos8 = {x = 32931, y = 32267, z = 13}
pos9 = {x = 32933, y =  32267, z = 13}
pos10 = {x = 32935, y = 32267, z = 13}
pos11 = {x = 32936, y = 32268, z = 13}
pos12 = {x = 32936, y = 32270, z = 13}
pos13 = {x = 32936, y = 32272, z = 13}
pos14 = {x = 32936, y = 32274, z = 13}
pos15 = {x = 32936, y = 32276, z = 13}
pos16 = {x = 32936, y = 32278, z = 13}
pos17 = {x = 32936, y = 32280, z = 13}
pos18 = {x = 32936, y = 32282, z = 13}
doSendAnimatedText(pos, 'TIC TAC', 156)
doSendAnimatedText(pos1, 'TIC TAC', 156)
doSendAnimatedText(pos2, 'TIC TAC', 156)
doSendAnimatedText(pos3, 'TIC TAC', 156)
doSendAnimatedText(pos4, 'TIC TAC', 156)
doSendAnimatedText(pos5, 'TIC TAC', 156)
doSendAnimatedText(pos6, 'TIC TAC', 156)
doSendAnimatedText(pos7, 'TIC TAC', 156)
doSendAnimatedText(pos8, 'TIC TAC', 156)
doSendAnimatedText(pos9, 'TIC TAC', 156)
doSendAnimatedText(pos10, 'TIC TAC', 156)
doSendAnimatedText(pos11, 'TIC TAC', 156)
doSendAnimatedText(pos12, 'TIC TAC', 156)
doSendAnimatedText(pos13, 'TIC TAC', 156)
doSendAnimatedText(pos14, 'TIC TAC', 156)
doSendAnimatedText(pos15, 'TIC TAC', 156)
doSendAnimatedText(pos16, 'TIC TAC', 156)
doSendAnimatedText(pos17, 'TIC TAC', 156)
doSendAnimatedText(pos18, 'TIC TAC', 156)
return TRUE
end

Explaining:
pos18 = call position configured above
'TIC TAC' = text that will appear in position
156 = color(?
 
Back
Top