MushroomEx

From Eternity Wiki
Revision as of 03:52, 25 April 2020 by Printz (talk | contribs) (Created page with "{{codepointer |description=Extended version for Mushroom, which uses proper arguments for everything. |usage='''MushroomEx'''(''thing_type'', ''thing_count'', ''vertical_r...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

Extended version for Mushroom, which uses proper arguments for everything.

Usage

MushroomEx(thing_type, thing_count, vertical_range, horizontal_range, splash_damage, splash_radius)

Parameters

  • thing_type: type of thing to spawn as explosion projectile;
  • thing_count: how many projectiles to spawn (default: actor damage);
  • vertical_range: vertical range, same as Mushroom misc1 (default: 4);
  • horizontal_range: horizontal range, same as Mushroom misc2 (default: 0.5);
  • splash_damage: explosion shockwave maximum damage (default: 128);
  • splash_radius: explosion shockwave range (default: 128).

Examples

No examples given.

Notes

This is an advanced version of Mushroom. If you want to use the default parameter values, omit them.

See also