Project

General

Profile

Feature #2352

[Heretic] Scripted touch action for special things

Added by skyjake over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Enhancement
Target version:
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

Related to Feature #2349: [Heretic] Various improvements and modding featuresClosed2019-10-27

Related to Feature #1608: Integrate Doomsday ScriptProgressed2013-10-22

Related to Feature #2374: "On death" script to run when a thing is killedClosed2019-12-21

Associated revisions

Revision 004039c3 (diff)
Added by skyjake over 1 year ago

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

History

#1 Updated by skyjake over 1 year ago

  • Related to Feature #2349: [Heretic] Various improvements and modding features added

#2 Updated by skyjake over 1 year ago

#3 Updated by skyjake over 1 year ago

  • Status changed from In Progress to Resolved

#4 Updated by skyjake over 1 year ago

  • Status changed from Resolved to Closed

#5 Updated by skyjake over 1 year ago

  • Related to Feature #2374: "On death" script to run when a thing is killed added

Also available in: Atom PDF