SlashCo Wiki

SlashCo.AudioSystem.ParentChannelToEntity

  SlashCo.AudioSystem.ParentChannelToEntity( IGModAudioChannel channel, number or Entity entIndex )

Description

Parents the channel onto the Entity causing it to follow it's movement.

Arguments

1IGModAudioChannel channel

The channel

2number or Entity entIndex

The entIndex or Entity to parent the channel to