A FireCustomMissile

From ECWolf Wiki
Revision as of 00:05, 3 October 2012 by Blzut3 (talk | contribs)

A_FireCustomMissile (string missiletype[, float angle[, bool useammo[, int spawnoffset[, int spawnheight[, bool aim[, float pitch]]]]]])

Fire a player projectile.

  • missiletype: Actor to use as projectile.
  • angle: Relative angle to fire the projectile in.
  • useammo: Sets whether the attack uses ammo or not.
  • spawnoffset: Horizontal offset of the attack.
  • spawnheight: Vertical offset of the attack. Ignored for now, but should be set to the player class's -(height/2 + 8) in order to keep it spawning at the floor level in future versions of ECWolf.
  • aim: Currently unimplemented. Keep default value of false.
  • pitch: Pitch offset. Ignored for now, keep default value of 0.