PlayerLinkToAbsolute( <lockto entity>, <tag> )

Module: Player
SP Only


Attaches the player to an entity. No view movement is allowed. The player's eye position will remain fixed relative to the parent entity/tag. Thus, pitching and rolling will cause the player's eye position to move. (But the player entity always remains vertical)

Call this on:

A Player Entity


level.player PlayerLinkToAbsolute( vehicle, "tag_player" );

Required Args:

  • 1 : <lockto entity> The entity to attach the player to

Optional Args

  • 1 : <tag> The tag to attach the player to