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


Module: Entity

Summary:

Attaches one entity to another



Call this on:

An Entity



Example:

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



Required Args:

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


Optional Args

  • 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