A CustomMissile

From ECWolf Wiki
Revision as of 15:31, 1 October 2012 by Blzut3 (talk | contribs) (Created page with "'''A_CustomMissile''' (string ''missiletype''[, float ''spawnheight''[, int ''spawnoffset''[, float ''angle''[, int ''aimflags'']]]]) Spawns the specified monster projectile ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A_CustomMissile (string missiletype[, float spawnheight[, int spawnoffset[, float angle[, int aimflags]]]])

Spawns the specified monster projectile in the direction the monster is facing. Note that this function does not automatically call A_FaceTarget.

  • missiletype: Actor to spawn.
  • spawnheight: The height from the ground to spawn the projectile. This is currently ignored by ECWolf and should always be 32.
  • spawnoffset: The horizontal offset that the projectile is fired from.
  • angle: The relative angle in which to fire.
  • aimflags: Changes the behavor of the function.
    • CMF_AIMOFFSET - The projectile is aimed as if it had an offset of 0.