User Tools

Site Tools


ded:thing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
ded:thing [2019-12-22 12:52]
skyjake [On death]
ded:thing [2019-12-22 21:42] (current)
skyjake [On death]
Line 224: Line 224:
 (Since [[version:​2.3]]) (Since [[version:​2.3]])
  
-[[:Script]] that gets run when the thing is killed. The key difference to the Death/​Xdeath state is that the script is also provided a reference to the killer. All the normal processing of a thing'​s death occurs even if an On death script has been specified.+[[:Script]] that gets run when the thing is killed. The key difference to a script action in the Death/​Xdeath state is that the On death script is also provided a reference to the killer. All the normal processing of a thing'​s death occurs even if an On death script has been specified.
  
 Variables available in the script: Variables available in the script:
ded/thing.txt ยท Last modified: 2019-12-22 21:42 by skyjake