node-insim
    Preparing search index...

    Class IS_UCO

    User Control Object

    Reports crossing an InSim checkpoint / entering an InSim circle (from layout).

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    _raw: RawProperties<IS_UCO> = ...

    All string properties in a raw format as it was received from LFS

    C: CarContOBJ = ...

    Car contact object

    Info: ObjectInfo = ...

    Info about the checkpoint or circle

    Identifying an InSim checkpoint:

    Index is 252. Checkpoint index (seen in the layout editor) is stored in Flags bits 0 and 1.

    • 00 = finish line
    • 01 = 1st checkpoint
    • 10 = 2nd checkpoint
    • 11 = 3rd checkpoint

    Note that the checkpoint index has no meaning in LFS and is provided only for your convenience. If you use many InSim checkpoints you may need to identify them with the X and Y values.

    Identifying an InSim circle:

    Index is 253. The circle index (seen in the layout editor) is stored in the Heading byte.

    PLID: number = 0

    Player's unique id

    ReqI: 0
    Size: 28
    Time: number = 0

    Hundredths of a second since start (as in SMALL_RTP)

    Type: ISP_UCO = PacketType.ISP_UCO
    UCOAction: UCOAction = 0

    Entering/leaving a circle or crossing a checkpoint

    Methods