Skip to main content

CCitadelZiplinePath

A lane's zipline rope (citadel_zipline_path). A map's ropes tell you which lanes it has:

var lanes = Entities.ByClass<CCitadelZiplinePath>()
.Select(rope => rope.Lane)
.Where(lane => lane != LaneColor.Invalid)
.ToHashSet();

Map entities don't exist yet during IDeadworksPlugin.OnStartupServer.

public sealed class CCitadelZiplinePath : CBaseEntity

Namespace: DeadworksManaged.Api
Inherits / implements: CBaseEntity
Source: Entities/CCitadelZiplinePath.cs#L14

Properties​

CCitadelZiplinePath.Lane​

The rope's lane, or LaneColor.Invalid if it isn't part of one.

Signature

public LaneColor Lane { get; }

Source: Entities/CCitadelZiplinePath.cs#L19