ActivatorTID: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(Created page with "{{ACSFunction|description=Returns the TID (tag) of the activator thing. |usage=int ActivatorTID(void) |return=The TID of the activating thing |id=ACS internal }}")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{ACSFunction|description=Returns the TID (tag) of the activator thing.
{{ACSFunction|description=Returns the TID (tag) of the activator thing.
|usage=int ActivatorTID(void)
|usage=''int'' '''ActivatorTID'''()
|return=The TID of the activating thing
|return=The TID of the activating thing
|id=ACS internal
|id=ACC internal
|notes=If activator is player, this will NOT return the special [[TID]] value of players (-1 to -4), but most likely still 0 (unless changed otherwise by a script).
|seealso=
*[[PlayerNumber]]
}}
}}

Latest revision as of 04:34, 2 January 2022

Description[edit]

This is an ACS built-in function.

Returns the TID (tag) of the activator thing.

Usage[edit]

int ActivatorTID()

Parameters[edit]

No parameters.

Return value[edit]

The TID of the activating thing

Examples[edit]

No examples given.

Notes[edit]

If activator is player, this will NOT return the special TID value of players (-1 to -4), but most likely still 0 (unless changed otherwise by a script).

This function's identification in zspecial.acs is: ACC internal.

See also[edit]