MonsterProjectile: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
(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...") |
(No difference)
|
Latest revision as of 15:58, 12 October 2024
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.