Wiki News Account creation no longer requires administrator approval - edits are still moderated, however.

GetActorSectorLocation

From Zandronum Wiki
Jump to navigation Jump to search
Zandronum SkulltagOverlay.png Warning: This feature is Zandronum specific and may not supported by ZDoom and its other child ports!
Documentation may not be accurate, see ACS Functions.

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.

See also