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

[Globalevents] Rashid

frankfarmer

who'r ninja now
Premium User
Joined
Aug 5, 2008
Messages
1,581
Reaction score
81
Is there a possibility for someone to make a globalevent script on rashid?

To make rashid npc travel around the real map as he normally do?

Every 6 hours or so..

Thanks in advance!


ps. i was thinking about "raid" but someone told me globalevents would be a better option.
 
Code:
local positions = {{ x = , y = , z = }, { x = , y = , z = }, { x = , y = , z = }, { x = , y = , z = }, { x = , y = , z = }}
local now = 1
local time = os.clock()
function onThink()
	if (os.clock() == time + 6 * 60 * 1000) then
		if (now == 5) then
			now = 1
		else
			now = now + 1
		end
		doTeleportThing(getNpcCid(), positions[now])
		time = os.clock()
	end
end

You have to try change time if this not work.
 
Back
Top