User Tools

Site Tools


4rpl:commands:createsnipershot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
4rpl:commands:createsnipershot [2021/01/08 16:01] – external edit 127.0.0.14rpl:commands:createsnipershot [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-<=[[4rpl:start| Index]]+<=[[4rpl:start| Index]]\\ 
 +<= [[4rpl:start#Effects]]
  
 ====== CreateSniperShot ====== ====== CreateSniperShot ======
Line 6: Line 7:
  
 ===== Description ===== ===== Description =====
-Creates a shiper shot.  The worldPosition is where the snipershot should be created, it is a Vector3. +Creates a sniper shot.  The worldPosition is where the sniper shot should be created, it is a Vector3. 
-The target unit is what the snipershot should shoot at. A Sniper shot will damage the target unit and also draw an auto fading line from the worldPos to the targetUnit.+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 ===== ===== Examples =====
 <code 4rpl> <code 4rpl>
 +CreateSniperShot(GetUnitPosition(self) <-targetUnit) ->snipershot
 </code> </code>
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
  
4rpl/commands/createsnipershot.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)