GetActorSectorLocation: Difference between revisions
(Added page for GetActorSectorLocation.) |
DrinkyBird (talk | contribs) Tag: Source edit |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ACSWarning}} | {{ACSWarning}} | ||
{{DevfeatureWarning|version=3.2|type=an [[ACS]] function}} | |||
str '''GetActorSectorLocation''' (int ''tid'', bool ''point'') {{Devfeature|3.2|alpha}} | str '''GetActorSectorLocation''' (int ''tid'', bool ''point'') {{Devfeature|3.2|alpha}} | ||
==Usage== | ==Usage== | ||
Returns a string containing the name of the sector the actor is currently in, as defined in | Returns a string containing the name of the sector the actor is currently in, as defined in [[SECTINFO]]. | ||
===Parameters=== | ===Parameters=== |
Latest revision as of 22:32, 2 January 2023
This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports. |
This article documents an ACS function which is only available in development builds of Zandronum 3.2 and newer. |
str GetActorSectorLocation (int tid, bool point) (development version 3.2-alpha and above only)
Usage
Returns a string containing the name of the sector the actor is currently in, as defined in SECTINFO.
Parameters
- tid: The TID of the actor. If set to 0, the activator is used instead.
- point: If enabled, this returns the name of whatever point sector the actor may be in instead of the sector's actual name. This can be useful in Domination.
Return value
Returns a string containing the name of the (point) sector the actor's inside of. If it doesn't, or if the actor doesn't exist, it returns an empty string.
Examples
This article lists no examples, please add one. |