User Tools

Site Tools


scriptlib:spawnandeffect

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
scriptlib:spawnandeffect [2015/05/16 16:24]
emerald
scriptlib:spawnandeffect [2017/01/02 00:17] (current)
emerald
Line 1: Line 1:
 ====== Spawn And Effect ====== ====== Spawn And Effect ======
 +
 +This script uses particle effects. See [[particleffects|here]] for a list.
  
 <​code>​ <​code>​
Line 87: Line 89:
      * and z offset of the effect.      * and z offset of the effect.
      */      */
-    steamParticle = inst.particleAttach(BOX_PROP_ID,"​Par-Steam",​5,​0,​10,​0);​+    steamParticle = inst.effect(BOX_PROP_ID,"​Par-Steam",​5,​0,​10,​0);​
  
     // Stop the script in 20 seconds. This will clean everything up     // Stop the script in 20 seconds. This will clean everything up
scriptlib/spawnandeffect.1431789886.txt.gz · Last modified: 2015/05/16 16:24 by emerald