View Issue Details

IDProjectCategoryView StatusLast Update
0003297The Dark ModDesign/Codingpublic26.01.2013 10:34
ReporterObsttorte Assigned Totels  
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 1.08 
Target VersionTDM 2.00Fixed in VersionTDM 2.00 
Summary0003297: There is no ko_script spawnarg for AI.
DescriptionAI have a spawnarg called "death_script", which can be used to call a script function if the AI is killed. However, a similar functionality for ko'ed AI is missing.
TagsNo tags attached.

Activities

tels

tels

26.01.2013 10:34

reporter   ~0005027

With revision #5692, implement support for "ko_script" and "fx_on_ko" spawnargs.

The "ko_script" calls a function with just the AI that is knocked out (or the named function on the script object of the AI). Thus it mirrors "death_script" in the implementation.

Both suffer from the problem that the script cannot easily determine who is responsible for the death/ko, but I'll leave this for another day.

Issue History

Date Modified Username Field Change
24.01.2013 09:36 Obsttorte New Issue
25.01.2013 14:02 Springheel Project DarkRadiant => The Dark Mod
26.01.2013 10:33 tels Assigned To => tels
26.01.2013 10:33 tels Status new => assigned
26.01.2013 10:33 tels Product Version 1.7.2 => TDM 1.08
26.01.2013 10:33 tels Target Version => TDM 2.00
26.01.2013 10:34 tels Note Added: 0005027
26.01.2013 10:34 tels Status assigned => resolved
26.01.2013 10:34 tels Fixed in Version => TDM 2.00
26.01.2013 10:34 tels Resolution open => fixed