User Tools

Site Tools


4rpl:commands:createsnipershot

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

4rpl/commands/createsnipershot.txt · Last modified: 2021/08/20 15:13 by builder17