~~NOTOC~~ <=[[4rpl:start| Index]]\\ <= [[4rpl:start#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 <=[[4rpl:start| Index]]