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 11:01] – external edit 127.0.0.14rpl:commands:createeffect [2024/02/18 15:32] (current) – [Examples] Added 2nd example Vertu
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-<=[[4rpl:start| Index]]+<=[[4rpl:start| Index]]\\ 
 +<= [[4rpl:start#Effects]]
  
 ====== CreateEffect ====== ====== CreateEffect ======
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: 2021/01/08 11:01 by 127.0.0.1