1366
Utilities and 3rd Party Applications / Re: DFHack Spells *New Scripts incoming soon!*
« on: April 01, 2014, 07:59:30 pm »
Well there is onUnitDeath(unit_id) in the eventful listing, so then I could check which unit killed them and add the counter to the killing unit. Shouldn't impact FPS more than any of the other eventful plugins (like itemsyndrome).
Global counters should have very little impact on FPS, the only question that remains is if I have two Dwarfs that increase a counter at the same time will it register both or just one. Not sure how dfhack scripts work when there are dozens being used in very close proximity (time wise) to eachother.
Global counters should have very little impact on FPS, the only question that remains is if I have two Dwarfs that increase a counter at the same time will it register both or just one. Not sure how dfhack scripts work when there are dozens being used in very close proximity (time wise) to eachother.
