Page 1 of 1

[SOLVED] Checking Target' Target

Posted: Sun Oct 02, 2016 11:43 am
by kutalmismete
How can I check existence of targets target ?

Re: Checking Target' Target

Posted: Fri Oct 07, 2016 10:42 am
by kenzu38
Easy way I can think of is:

Code: Select all

	player:update()
	local targetstarget = player:getTarget():getTarget()
targetstarget.Name would be "<UNKNOWN>" and targetstarget.Id would be 0 I think if your target has no target.