A_SPosAttackUseAtkSound

From ZDoom Wiki
Revision as of 02:40, 15 February 2013 by Deded007 (talk | contribs) (example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A_SPosAttackUseAtkSound

(no parameters)


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

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