Index
Effects

CreateSniperShot

CreateSniperShot(<-worldPos <-targetUnit)

Description

Creates a sniper shot. The worldPosition is where the sniper shot should be created, it is a Vector3. The target unit is what the sniper shot should shoot at. A sniper shot will damage the target unit and also draw an auto fading line from the worldPos to the targetUnit.

Examples

CreateSniperShot(GetUnitPosition(self) <-targetUnit) ->snipershot

Index