Difference between revisions of "TARGETF"
From SphereWiki
Line 8: | Line 8: | ||
ARGO= target's UID | ARGO= target's UID | ||
− | |||
− | |||
local.id stores the ID of the targeted object | local.id stores the ID of the targeted object | ||
[[Category:Reference Compendium]] | [[Category:Reference Compendium]] | ||
[[Category: Properties and Functions]] | [[Category: Properties and Functions]] |
Revision as of 17:45, 8 May 2018
Targetf is a command you can use to directly target a character or item and using a function on it without manually creating an memory item or such. Using the targetf itself works like calling an ordinary function and you can put arguments after the function normally.
ex. targetf f_hello or targetf f_hello 1,2
In targetf:
SRC= player using the function
ARGO= target's UID
local.id stores the ID of the targeted object