From SRB2 Wiki
Jump to navigation Jump to search

A_VultureVtol is an action that is used as part of the thinker for the Bird Aircraft Strike Hazard. The flags MF_NOGRAVITY and MF_FLOAT are given to allow the actor to adjust its height to a suitable position to attack its target player (between 1/4 and 3/4 of the player's height), moving with a vertical speed of 2 fracunits/tic up or down. The actor will also face its target (with A_FaceTarget) and stop any sound it may be currently playing. When the actor has found a good position, it stops all vertical movement, goes to its MissileState and plays ActiveSound. If the actor doesn't have a target however, this action does nothing.

Object property Use
MissileState Attacking state
ActiveSound Attacking sound

  Actions – Enemy thinkers [view]