Quantcast
Channel: OTLand
Viewing all articles
Browse latest Browse all 32017

[LUA FUNCTION] searchThingText(fromPos, toPos) [generate text like exiva]

$
0
0
Code from engine changed from C++ to LUA.
Good to make quests/events where players must find on map some items/npc/boss/spawn etc. ^_^
You can make talkaction which will show where is something (not only player) :D
Lua:
function searchThingText(fromPos, toPos)
	local DISTANCE_BESIDE = 0
	local DISTANCE_CLOSE = 1
	local DISTANCE_FAR = 2
	local DISTANCE_VERYFAR = 3

	local DIR_N = 0
	local DIR_S = 1
	local DIR_E = 2
	local DIR_W = 3
	local DIR_NE = 4
	local DIR_NW = 5
	local...
[LUA FUNCTION] searchThingText(fromPos, toPos) [generate text like exiva]

Viewing all articles
Browse latest Browse all 32017

Trending Articles