A_M_FireMissile
Does nothing if the calling actor has no valid target. If it has a target that is within melee range, calls A_M_Punch(1) instead of doing anything else.
A_M_FireMissile
(no parameters)
Otherwise, calls A_FaceTarget and fires a Rocket. This replicates RocketLauncher fire.
This codepointer is restricted to ScriptedMarine and derived classes.
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.