• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua Somebody knows how to call the position of the target?

Obsdark

Member
Joined
Sep 25, 2011
Messages
213
Reaction score
9
¡¡¡Hello!!!

I wonder if somebody know how to make a script than load the location of the target, and related with that i have another question, i like to know. what do exactly this function?: targetPositionToVariant(pos)

they are not necesarly connected issues, that's why i like to know.


¡Bless you and Cheers up!
(Y)(Y)


-Obsdark-

PS: Somebody know a Conditions list post it in somewhere?
 
To get the position
LUA:
getCreaturePosition(getTopCreature(variantToPosition(var)).uid)
You can find a list of all conditions in data/lib/000-constant.lua
 
Thanks, but i need something that work with the "target" issue, you see, i wanna something than take the target location for that way summon something when target dies. ;)

Tnx for the condition list, i'll check it, maybie is like the function list i saw in a post arround, and if is that way, is what i am looking for. ;)

¡Bless you and Cheers up!
(Y)(Y)


-Obsdark-
 
Back
Top