HticExplode: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
m (Quotations around damage)
m (Added keywords)
Line 1: Line 1:
'''HticExplode''' (int ''effect'')<br>
'''HticExplode''' (string ''effect'')<br>


==Usage==
==Usage==
Line 8: Line 8:


*effect: Select special explosion effect. (Default of 0)
*effect: Select special explosion effect. (Default of 0)
**0 = Blast with radius and max damage of 128
**'default' = Blast with radius and max damage of 128
**1 = D'Sparil blue spark effect
**'dsparilbspark' = D'Sparil blue spark effect
***Radius and max damage = 80 + (rnd % 32)
***Radius and max damage = 80 + (rnd % 32)
**2 = Maulotaur floor fire effect
**'floorfire' = Maulotaur floor fire effect
***Radius and max damage = 24
***Radius and max damage = 24
**3 = Timebomb of the Ancients effect
**'timebomb' = Timebomb of the Ancients effect
***Object z increases 32 units; object translucency is disabled; Radius and max damage = 128  
***Object z increases 32 units; object translucency is disabled; Radius and max damage = 128  


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

Revision as of 22:30, 21 April 2009

HticExplode (string effect)

Usage

HticExplode performs various Heretic explosion effects, as selected by its first argument. Higher argument values are reserved for addition of more effects and should not be used. If the blast radius is "damage" units or less above the floor, a TerrainTypes hit will occur.

Parameters

  • effect: Select special explosion effect. (Default of 0)
    • 'default' = Blast with radius and max damage of 128
    • 'dsparilbspark' = D'Sparil blue spark effect
      • Radius and max damage = 80 + (rnd % 32)
    • 'floorfire' = Maulotaur floor fire effect
      • Radius and max damage = 24
    • 'timebomb' = Timebomb of the Ancients effect
      • Object z increases 32 units; object translucency is disabled; Radius and max damage = 128