Log in

View Full Version : Check Position



brubruzera
06-07-2016, 04:07 PM
Need an action to check the position of my character and if is not this pos go back to other label...

yompa93
06-07-2016, 06:57 PM
something like this i guess:


x = 45421
y = 45232
z = 34561

function posCheck()
pos = Self.Position()
if pos.x ~= x and pos.y ~= y and pos.z ~= z then
Walker.Goto("LabelName")
end
end

just add posCheck() in a label where you want to check the position.