This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:createbeam [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:createbeam [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | < | + | < |
+ | < | ||
====== CreateBeam ====== | ====== CreateBeam ====== | ||
Line 17: | Line 19: | ||
* ' | * ' | ||
+ | **<fs medium> | ||
+ | Attached beams are best for simple units such as a unit that fires a beam at Creeper. The targeted Creeper location does not move and if the unit does not move while the beam is visible than it is safe to attach the beam to the unit and no unwanted visual errors will occur. | ||
+ | |||
+ | :NOTE: Beams become invisible at long distances when they are a size lower than 0.5 so if you want the beam to always be visible, keep the width at a minimum of 0.5. The smaller the beam, the closer the camera must be for it to be visible.\\ | ||
+ | This can also be useful when using a large number of beams such as targeting lasers to ensure the player' | ||
===== Examples ===== | ===== Examples ===== | ||
<code 4rpl> | <code 4rpl> | ||
Line 22: | Line 29: | ||
| | ||
#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 |
3 -> | 3 -> | ||
4 ->width | 4 ->width | ||
Line 28: | Line 35: | ||
| | ||
| | ||
- | | + | |
endonce | endonce | ||
</ | </ | ||
< | < | ||