User Tools

Site Tools


4rpl:commands:setbeamforcelocalend

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:setbeamforcelocalend [2021/04/15 13:06] Karsten754rpl:commands:setbeamforcelocalend [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#beams| Beams]]+<=[[4rpl:start#beams| Beams]]
  
  
Line 16: Line 16:
    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 ourselfs, 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 
-   CreateBeam("orange" 3 4  0 1 0  10000 <-unitPos.Y 10000) ->beam +   3 ->brightness 
-   AttachBeam(<-beam self)+   4 ->width 
 +   CreateBeam("orange" <-brightness <-width) ->beam 
 +   AttachBeam(<-beam self ""
 +   SetBeamStart(<-beam V3(0 0 0)) 
 +   SetBeamEnd(<-beam V3(10000 0 10000))
 endonce endonce
  
4rpl/commands/setbeamforcelocalend.1618492017.txt.gz · Last modified: 2025/02/14 14:56 (external edit)