Call of Duty Script Documentation
playerlinktodelta( <linkto entity>, <tag>, <viewpercentag fraction> )
ModulePlayer
Summary
Attaches the player to an entity. Any entity rotation is added to the player's view, allow the player to look around.
Call this function on
A Player Entity
Example
level.player playerlinktodelta (vehicle, "tag_player", 0.5);
Minimum Number of arguments: 1
1 : <linkto entity> The entity to attach the player to
Number of optional arguments: 2
1 : <tag> The tag to attach the player to
2 : <view fraction> How much the change in the tag's rotation effects the players view
Return to Function List