A_SPosAttackUseAtkSound


A variant of A_SPosAttack which uses the attack sound of the actor instead of the hard coded "shotguy/attack".

A_SPosAttackUseAtkSound

(no parameters)

Examples

Code taken from the Spider Mastermind:

 Missile:
   SPID A 20 Bright A_FaceTarget
   SPID G 4 Bright A_SPosAttackUseAtkSound
   SPID H 4 Bright A_SPosAttackUseAtkSound
   SPID H 1 Bright A_SpidRefire
   Goto Missile+1
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.