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

Pointer Arrow Help

Ghost Creations

Active Member
Joined
Aug 2, 2011
Messages
234
Solutions
1
Reaction score
28
Location
Now in Korat, Thailand
2j5dzpv.png

Remember this in real tibia at Tutorial Island. I want to do this.
So the Question is how do I use effects in the map
25hmo3b.png

I acually have a reason to use it, but have no clue on how to.
I know someone has asked before, but what do you call it to search.
 
Or
LUA:
doSendMagicEffect(pos, type[, player])
Usage:
LUA:
function onUse(cid, item, fromPos, itemEx, toPos)
	-- Only player see this effect.
	doSendMagicEffect(fromPos, CONST_ME_TUTORIALARROW, cid)
	
	return true
end
 
Thank you both.

Not sure how to make it:

doSendMagicEffect(pos, 55) -- Is the arrow
doSendMagicEffect(pos, 56) -- Is the square


This is what I come up with:

Action.xml

XML Code:
Code:
	<action actionid="24964" script="arrow.lua" />

on the tile I put 24964 as the action id

Arrow.lua

Lua Code:
Code:
function onUse(cid, item, fromPos, itemEx, toPos)
	doSendMagicEffect(fromPos, CONST_ME_TUTORIALARROW, cid)
	return true
end

but it doesn't work.
 
Last edited:
Back
Top