Difference between revisions of "TARGETF"

From SphereWiki
Jump to: navigation, search
m (moved Targetf to TARGETF: renamed so existing links will lead to this page)
m (added categories)
Line 1: Line 1:
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 ordinadry function and you can put arguments after the function normally.  
+
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  
 
ex. targetf f_hello or targetf f_hello 1,2  
Line 10: Line 10:
  
 
Remember that using ARGO doesn't work directly like SRC. I.e. src.name but you have to use it via UID as uid.<argo>.name.
 
Remember that using ARGO doesn't work directly like SRC. I.e. src.name but you have to use it via UID as uid.<argo>.name.
 +
 +
 +
[[Category:Reference Compendium]]
 +
[[Category: Properties and Functions]]

Revision as of 19:39, 6 November 2010

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

Remember that using ARGO doesn't work directly like SRC. I.e. src.name but you have to use it via UID as uid.<argo>.name.