BeastPuff: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(new page)
 
m (see also)
Line 8: Line 8:


This codepointer has a 25% chance of creating a WeredragonSmoke object near the origin of the calling actor. In addition, if ''momentumToggle'' is set to '''momentum''', the smoke object will gain a velocity opposite and 16 times smaller than calling actor's (which is often a projectile); otherwise it will remain stationary. If the WeredragonSmoke class is defined as '''MISSILE''' (which by default is), it will belong to the shooter who spawned the calling actor, so it won't hurt the shooter.
This codepointer has a 25% chance of creating a WeredragonSmoke object near the origin of the calling actor. In addition, if ''momentumToggle'' is set to '''momentum''', the smoke object will gain a velocity opposite and 16 times smaller than calling actor's (which is often a projectile); otherwise it will remain stationary. If the WeredragonSmoke class is defined as '''MISSILE''' (which by default is), it will belong to the shooter who spawned the calling actor, so it won't hurt the shooter.
===See also===
*[[List of codepointers]]


[[Category:Codepointers]]
[[Category:Codepointers]]

Revision as of 05:56, 27 December 2011

BeastPuff is used by Heretic weredragon and volcano projectiles to create the smoke effect.

Usage

BeastPuff(momentumToggle)

Remarks

momentumToggle can be set as momentum (0) or nomomentum (1).

This codepointer has a 25% chance of creating a WeredragonSmoke object near the origin of the calling actor. In addition, if momentumToggle is set to momentum, the smoke object will gain a velocity opposite and 16 times smaller than calling actor's (which is often a projectile); otherwise it will remain stationary. If the WeredragonSmoke class is defined as MISSILE (which by default is), it will belong to the shooter who spawned the calling actor, so it won't hurt the shooter.

See also