MonsterProjectile

From Eternity Wiki
Revision as of 15:58, 12 October 2024 by Printz (talk | contribs) (Created page with "{{Codepointer|description=Generic monster projectile attack. |usage='''A_MonsterProjectile'''(''thingtype'', ''angle'', ''pitch'', ''horizontal_offset'', ''vertical_offset'') |parameters= *''thingtype'': name of projectile thingtype to spawn *''angle'': angle (in degrees) to add to the shooting angle *''pitch'': vertical angle in degrees to add to the shooting angle *''horizontal_offset'': offset in front of attacker to produce the missile *''vertical_offset'': offse...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description

Generic monster projectile attack.

Usage

A_MonsterProjectile(thingtype, angle, pitch, horizontal_offset, vertical_offset)

Parameters

  • thingtype: name of projectile thingtype to spawn
  • angle: angle (in degrees) to add to the shooting angle
  • pitch: vertical angle in degrees to add to the shooting angle
  • horizontal_offset: offset in front of attacker to produce the missile
  • vertical_offset: offset above the normal missile height of the thingtype

Examples

No examples given.

Notes

As with other missile shooters, friendliness is not transferred. Also, this codepointer allows the missile to be seeking. If no the shooting actor has no enemies, then nothing will happen.

See also