EVENT DAMAGEFLOOR: Difference between revisions
Jump to navigation
Jump to search
Created page with "'''EVENT_DAMAGEFLOOR''' is a Game Event. This event is triggered whenever a floor is hit by a weapon. This event is only executed if the tilenum was s..." |
Doom64hunter (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{EventTable|1=EVENT_DAMAGEFLOOR|2=-1|3=Damage Source|4=2-6 values}} | |||
'''EVENT_DAMAGEFLOOR''' is a [[EDuke32_event_list|Game Event]]. | '''EVENT_DAMAGEFLOOR''' is a [[EDuke32_event_list|Game Event]]. | ||
Line 7: | Line 9: | ||
[[THISACTOR]] equals the ID of the projectile or source of damage. | [[THISACTOR]] equals the ID of the projectile or source of damage. | ||
[[RETURN]] or the userdef [[return (userdef)|return]] 0 equals the | [[RETURN]] or the userdef [[return (userdef)|return]] 0 equals the sectnum of the floor being damaged. | ||
If [[RETURN]] is set to -1, [[EVENT_DAMAGEHPLANE]] will not be executed. Unlike the ceiling equivalent, there are no hardcoded floor damage effects in Duke3D that this could prevent. | |||
The userdef return 1 through 5 equals the [[hitradius]] parameters. If there's no radius damage, return 1 equals -1. | The userdef return 1 through 5 equals the [[hitradius]] parameters. If there's no radius damage, return 1 equals -1. | ||
See also [[EVENT_DAMAGECEILING]], [[EVENT_DAMAGEWALL]], [[EVENT_DAMAGESPRITE]] and [[EVENT_POSTDAMAGESPRITE]]. | See also [[EVENT_DAMAGECEILING]], [[EVENT_DAMAGEWALL]], [[EVENT_DAMAGESPRITE]] and [[EVENT_POSTDAMAGESPRITE]]. |
Revision as of 02:50, 4 February 2022
Event ID | player# | THISACTOR | RETURN | |
---|---|---|---|---|
EVENT_DAMAGEFLOOR | -1 | Damage Source | 2-6 values |
EVENT_DAMAGEFLOOR is a Game Event.
This event is triggered whenever a floor is hit by a weapon.
This event is only executed if the tilenum was set with damageeventtile and damageeventtilerange.
THISACTOR equals the ID of the projectile or source of damage.
RETURN or the userdef return 0 equals the sectnum of the floor being damaged.
If RETURN is set to -1, EVENT_DAMAGEHPLANE will not be executed. Unlike the ceiling equivalent, there are no hardcoded floor damage effects in Duke3D that this could prevent.
The userdef return 1 through 5 equals the hitradius parameters. If there's no radius damage, return 1 equals -1.
See also EVENT_DAMAGECEILING, EVENT_DAMAGEWALL, EVENT_DAMAGESPRITE and EVENT_POSTDAMAGESPRITE.