Feature #2352
[Heretic] Scripted touch action for special things
Start date:
2019-11-16
% Done:
100%
Description
Things with the MF_SPECIAL flag can be touched for an effect like getting the health powerup.
In addition to the hardcoded functions, enable using Doomsday Script to define what happens when the special thing is touched.
Related issues
Associated revisions
History
#1 Updated by skyjake almost 5 years ago
- Related to Feature #2349: [Heretic] Various improvements and modding features added
#2 Updated by skyjake almost 5 years ago
- Related to Feature #1608: Integrate Doomsday Script added
#3 Updated by skyjake almost 5 years ago
- Status changed from In Progress to Resolved
#4 Updated by skyjake over 4 years ago
- Status changed from Resolved to Closed
#5 Updated by skyjake over 4 years ago
- Related to Feature #2374: "On death" script to run when a thing is killed added
Heretic|Scripting: Scripted touch action for special things
A Thing definition may specify an "On touch" script that gets run when the thing is touched. This replaces any hardcoded logic that might have affected the thing.
See the manual for an example: https://manual.dengine.net/ded/thing#on_touch
IssueID #2352