A_Fire
Places the calling actor directly in front of its tracer, with a z offset of height. If height is not specified, it defaults to 0.
A_Fire [(float height)]
Examples
The Arch-Vile from Doom uses this function in its fire attack's Decorate code to keep the fire placed on its target:
ACTOR ArchvileFire { Game Doom SpawnID 98 RenderStyle Add Alpha 1 +NOBLOCKMAP +NOGRAVITY States { Spawn: FIRE A 2 bright A_StartFire FIRE BAB 2 bright A_Fire FIRE C 2 bright A_FireCrackle FIRE BCBCDCDCDEDED 2 bright A_Fire FIRE E 2 bright A_FireCrackle FIRE FEFEFGHGHGH 2 bright A_Fire Stop } }
See also
- A_Warp — more flexible generalized variant of A_Fire.
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.