A Detonate: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
mNo edit summary |
||
| (7 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{{codepointer|Generic Attack}}'''A_Detonate''' |
|||
{{underscore|A_Detonate}} |
|||
'''A_Detonate''' |
|||
(no parameters) |
(no parameters) |
||
Performs an explosive (radius) attack. The amount of damage and the attack's radius are specified with the actor's |
Performs an explosive (radius) attack. The amount of damage and the attack's radius are specified with the actor's {{c|{{Property|Damage}}}} property. |
||
== Examples == |
== Examples == |
||
This is a gamma {{Class|demon}}. It releases a wave of damaging radiation when it dies. When killed, its death state triggers [[A_Detonate]], which according to its {{c|Damage}} property, releases a wave of radius damage within 100 units, dealing 100 damage at the center of the blast. |
|||
{{noexamples}} |
|||
ACTOR GammaDemon : {{Class|Demon}} |
|||
{ |
|||
{{Property|Damage}} 100 |
|||
States |
|||
{ |
|||
Death: |
|||
SARG I 8 |
|||
SARG J 8 [[A_Scream]] |
|||
SARG K 4 [[A_Detonate]] |
|||
SARG L 4 [[A_NoBlocking]] |
|||
SARG M 4 |
|||
SARG N -1 |
|||
Stop |
|||
} |
|||
} |
|||
Latest revision as of 10:13, 27 April 2013
A_Detonate
(no parameters)
Performs an explosive (radius) attack. The amount of damage and the attack's radius are specified with the actor's Damage property.
Examples
This is a gamma demon. It releases a wave of damaging radiation when it dies. When killed, its death state triggers A_Detonate, which according to its Damage property, releases a wave of radius damage within 100 units, dealing 100 damage at the center of the blast.
ACTOR GammaDemon : Demon { Damage 100 States { Death: SARG I 8 SARG J 8 A_Scream SARG K 4 A_Detonate SARG L 4 A_NoBlocking SARG M 4 SARG N -1 Stop } }