A_KoraxBonePop

From ZDoom Wiki
Jump to navigation Jump to search

A_KoraxBonePop

(no parameters)

Shoots six KoraxSpirit actors with 60° angle intervals, initializes them by giving them the calling actor as their tracer field, a random number between 32 and 40 as their special2 field, and sets its args[0] field to 10. For each spirit, it also creates a tail made of a HolyTail that has the spirit as its target and the first of three HolyTailTrail as its tracer, and each tail trail having the next in the list as its tracer. A total of 30 actors are therefore spawned: six spirits, six tails, and eighteen trails.

It then starts script number 255 with the calling actor as the activator. In the original Hexen map when Korax is fought, this script opens up the door leading to the endgame.

This codepointer is restricted to Korax and derived classes.

Examples

Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.