User Tools

Site Tools


4rpl:commands:createeffect

Differences

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

Link to this comparison view

Next revision
Previous revision
4rpl:commands:createeffect [2021/01/08 16:01] – external edit 127.0.0.14rpl:commands:createeffect [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]]
  
 ====== CreateEffect ====== ====== CreateEffect ======
Line 10: Line 11:
   * sparks   * sparks
   * materialize   * materialize
-  * radial +  * radial (default radius: ~11) 
-  * radial2+  * radial2 (default radius: ~11)
   * explosion   * explosion
   * explosion2   * explosion2
Line 22: Line 23:
 CreateEffect("materialize" V3(10 5 20) V3(1 1 1)) CreateEffect("materialize" V3(10 5 20) V3(1 1 1))
 </code> </code>
 +<code 4rpl>
 +CreateEffect("explosion2" GetUnitPosition(self) V3(1 1 1))
 +</code>
 +
 +===== Effects =====
 +:!: Note: **radial2** should be played slightly higher on the Y axis than unit position for it to display correctly. Also it's .y vector for size does not impact it's vertical size unlike with the other effects. V3(1 0.5 1) will create an oval, V3(1 1 1) will create a circle.
 +
 +[{{cw4_effect_sparks.gif|sparks}}] [{{cw4_effect_materialize.gif|materialize}}] \\ [{{cw4_effect_radial.gif|radial}}] [{{cw4_effect_radial2.gif|radial2}}] \\ [{{cw4_effect_explosion.gif|explosion}}] [{{cw4_effect_explosion2.gif|explosion2}}] [{{cw4_effect_explosion3.gif|explosion3}}] [{{cw4_effect_explosion4.gif|explosion4}}] [{{cw4_effect_explosion5.gif|explosion5}}]
 +
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
  
4rpl/commands/createeffect.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)