Call of Duty Script Documentation

# linkto( <linkto entity>, <tag>, <originOffset>, <anglesOffset> )

## Module

    Entity

## Summary

    Attaches one entity to another

## Call this function on

    An Entity

## Example

    self.rightturret linkto( self, "tag_gunRight", (0,0,0), (0,0,0) );

## Minimum Number of arguments: 1

    1 : <linkto entity> The entity to attach this thing to

## Number of optional arguments: 3

    1 : <tag> The tag to attach the entity to
    2 : <originOffset> The positional offset from the base position
    3 : <anglesOffset> The angular offset from the base angles

Return to Function List