[SOLVED] Checking Target' Target

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
kutalmismete
Posts: 25
Joined: Thu May 26, 2016 6:26 am

[SOLVED] Checking Target' Target

#1 Post by kutalmismete » Sun Oct 02, 2016 11:43 am

How can I check existence of targets target ?
Last edited by kutalmismete on Tue Nov 01, 2016 4:01 am, edited 1 time in total.

kenzu38
Posts: 279
Joined: Sun Dec 02, 2012 8:52 am

Re: Checking Target' Target

#2 Post by kenzu38 » Fri Oct 07, 2016 10:42 am

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.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 47 guests