EVENT DAMAGECEILING: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
Created page with "'''EVENT_DAMAGECEILING''' is a Game Event. This event is triggered whenever a ceiling is hit by a weapon. This event is only executed if the tilenum w..."
 
mNo edit summary
Line 1: Line 1:
{{EventTable|1=EVENT_DAMAGECEILING|2=-1|3=Damage Source|4=yes (up to 6 values)}}
'''EVENT_DAMAGECEILING''' is a [[EDuke32_event_list|Game Event]].
'''EVENT_DAMAGECEILING''' is a [[EDuke32_event_list|Game Event]].



Revision as of 01:07, 5 August 2021

Event ID player# THISACTOR RETURN
EVENT_DAMAGECEILING -1 Damage Source yes (up to 6 values)

EVENT_DAMAGECEILING is a Game Event.

This event is triggered whenever a ceiling 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 ID of what is being damaged.

The userdef return 1 through 5 equals the hitradius parameters. If there's no radius damage, return 1 equals -1.

See also EVENT_DAMAGEFLOOR, EVENT_DAMAGEWALL, EVENT_DAMAGESPRITE and EVENT_POSTDAMAGESPRITE.