Legacy:LocationID: Difference between revisions

From Unreal Wiki, The Unreal Engine Documentation Site
mNo edit summary
 
No edit summary
 
Line 1: Line 1:
{{classbox| [[Legacy:UT|UT]] :: [[Legacy:Actor_(UT)|Actor_(UT)]] >> [[Legacy:Keypoint (UT)|Keypoint (UT)]] >> LocationID}}
{{classbox| [[Legacy:UT|UT]] :: [[Legacy:Actor (UT)|Actor (UT)]] >> [[Legacy:Keypoint (UT)|Keypoint (UT)]] >> LocationID (Package: Engine)}}


(Written "locationid" (all lowercase) in the [[Legacy:Actor Browser|actor browser]] even though it's declared as "LocationID" in the script.  Never mind that.)
(Written "locationid" (all lowercase) in the [[Legacy:Actor Browser|actor browser]] even though it's declared as "LocationID" in the script.  Never mind that.)
Line 14: Line 14:
; LocationName : The name of this particular place.
; LocationName : The name of this particular place.
; Radius : The size of this place specified as the radius of a sphere.
; Radius : The size of this place specified as the radius of a sphere.
[[Category:Legacy Class (UT)|{{PAGENAME}}]]

Latest revision as of 17:06, 10 July 2003

UT :: Actor (UT) >> Keypoint (UT) >> LocationID (Package: Engine)

(Written "locationid" (all lowercase) in the actor browser even though it's declared as "LocationID" in the script. Never mind that.)

A LocationID actor simply overrides a ZoneInfo_(UT)'s ZoneName property within a local volume. This is a sphere whose size is given by the Radius property; its collision cylinder plays no part.

Used for specifying a different name (which is displayed in the ScoreBoard and when using the TeamSay command) for parts of a zone.

Using LocationIDs is advisable where using a Zone's ZoneName property isn't possible (in open areas where zoning doesn't make sense, for instance). The downside of using a LocationID is that it takes the game up to two seconds to realize that a player has entered its radius, so the location info will lag a bit (most noticably when looking at the scoreboard).

Note: A great example of the use of this is CTF-LavaGiant, where all the ridges are named, despite each base being one large zone (actually two, upper and lower, but that is unrelated so I'm ignoring it ;-)).

Properties

LocationName
The name of this particular place.
Radius
The size of this place specified as the radius of a sphere.