ActivatorTID: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
|id=ACC 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). | |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). | ||
If you need to determine which player in a multiplayer game activated the script, use [[PlayerNumber]]. | |||
|seealso= | |seealso= | ||
*[[PlayerNumber]] | *[[PlayerNumber]] | ||
}} | }} | ||
Latest revision as of 15:04, 3 May 2026
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).
If you need to determine which player in a multiplayer game activated the script, use PlayerNumber.
This function's identification in zspecial.acs is: ACC internal.