ZDoom Line Specials

121:Line_SetIdentification

Name

Line_SetIdentification — assigns an identifier to a line for scripting. Can also designate EAX environments.

Synopsis

Line_SetIdentification (lineid, bBoundary);
Line_SetIdentification (
  lineid,    // Identification number for this line
  bBoundary  // Indicates if this line is a zone boundary
);

Parameters

lineid
The identification number used to identify this line for certain specials and ACS commands.
bBoundary
If this is set to 1, the line is part of a zone boundary. If it is 0, then it is not a boundary line.

ACS

This special must be placed directly on a line, because its primary purpose is to identify lines that can be altered with ACS. It performs no action of its own.

Remarks

Zone boundaries are currently used only to designate areas for EAX environments. If you don't care about EAX, then you should set the bBoundary parameter to 0.

Examples

Assign this line an ID of 1:

Line_SetIdentification (1);

First Available In

Hexen
ZDoom 2.0.43 added the bBoundary parameter

See Also

TranslucentLine