A M FireRailgun: Difference between revisions

From ZDoom Wiki
Jump to navigation Jump to search
Content deleted Content added
Durnurd (talk | contribs)
m Added note
No edit summary
 
Line 1: Line 1:
'''A_M_FireRailgun'''
{{DISPLAYTITLE:A_M_FireRailgun}}
'''A_M_FireRailgun'''<br>
(no parameters)<br>


Does nothing if the calling actor has no valid target.
(no parameters)


Otherwise, calls [[A_MonsterRail]], then sets the calling actor's <tt>special1</tt> field to current tic + 50.
Fires a railgun by calling [[A_MonsterRail]]. It also causes a delay of 50 ticks if used in conjunction with [[A_M_CheckAttack]] on a scripted marine.


This codepointer is restricted to {{Class|ScriptedMarine}} and derived classes.
''Note: Cannot be called from Decorate''

[[Category:Decorate Doom functions]] [[Category:Decorate Classic attack functions]] [[Category:Decorate Restricted functions]]{{DEFAULTSORT:M_FireRailgun}}

Latest revision as of 11:32, 30 September 2009

A_M_FireRailgun
(no parameters)

Does nothing if the calling actor has no valid target.

Otherwise, calls A_MonsterRail, then sets the calling actor's special1 field to current tic + 50.

This codepointer is restricted to ScriptedMarine and derived classes.