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
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).
}}
}}

Revision as of 04:33, 2 January 2022

Description

This is an ACS built-in function.

Returns the TID (tag) of the activator thing.

Usage

int ActivatorTID()

Parameters

No parameters.

Return value

The TID of the activating thing

Examples

No examples given.

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).

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

See also