SeekerMissile: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
(Created page with "{{codepointer|Generic seeker missile, based on ZDoom rules. |usage='''A_SeekerMissile'''(''threshold'', ''max_turn_angle'', ''flags'', ''acquire_chance'', ''acquire_distance'') |parameters= *''threshold'': Angle turning threshold. If necessary angle to turn to target is beyond this, it will turn at half the rate towards it (default 90, limited to 0-90). *''max_turn_angle'': Rate of angle to turn (default 90, limited to 0-90). *''flags'': can be '''normal''' (which implie...") |
(No difference)
|
Revision as of 15:27, 27 October 2024
{{codepointer|Generic seeker missile, based on ZDoom rules. |usage=A_SeekerMissile(threshold, max_turn_angle, flags, acquire_chance, acquire_distance) |parameters=
- threshold: Angle turning threshold. If necessary angle to turn to target is beyond this, it will turn at half the rate towards it (default 90, limited to 0-90).
- max_turn_angle: Rate of angle to turn (default 90, limited to 0-90).
- flags: can be normal (which implies nothing), or a combination (joined by "|", "+" or ",") of the following:
- look: if current seeking target is dead or doesn't exist, it will scan for new targets.
- precise: adjust the vertical (z) velocity precisely.
- curspeed: keep actual speed (if modified by other circumstances) instead of always going by the nominal thingtype speed value when updating the direction.
- acquire_chance: change out of 256 of acquiring a detected target if look is in flags (default 50)
- acquire_distance: distance in map blocks (i.e. blocks of 128 map units) to acquire new targets if look is used (default 10)
|seealso=