User Tools

Site Tools


4rpl:commands:destroybeam

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:destroybeam [2021/04/15 13:14] virgilw4rpl:commands:destroybeam [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 15: Line 15:
    GetUnitPosition(self) ->unitPos    GetUnitPosition(self) ->unitPos
    #Fire a beam to extends off screen but is at the same height as the unit    #Fire a beam to extends off screen but is at the same height as the unit
-   #We will attach the beam to ourself, so that the start point is relative to our unit+   #We will attach the beam to ourselves, so that the start point is relative to our unit
    3 ->brightness    3 ->brightness
    4 ->width    4 ->width
Line 21: Line 21:
    AttachBeam(<-beam self "")    AttachBeam(<-beam self "")
    SetBeamStart(<-beam V3(0 0 0))    SetBeamStart(<-beam V3(0 0 0))
-   SetBeamEnd(<-beam V3(10 20))+   SetBeamEnd(<-beam V3(10000 10000))
 endonce endonce
  
Line 27: Line 27:
    DestroyBeam(<-beam)    DestroyBeam(<-beam)
 endif endif
- 
  
 </code> </code>
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
  
4rpl/commands/destroybeam.1618492485.txt.gz · Last modified: 2025/02/14 14:56 (external edit)