obj.Attacker - originalfoo/Prison-Architect-API GitHub Wiki

This property requires further investigation

##Overview

Current assumption is that the property will contain the .i and .u IDs of the entity (or object or weapon?) that most recently attacked something.

If you find out more information, please let us know!


This property may only by a record after an entity is murdered and then be shown in the tooltip of the entity in "Murdered by ...".

However, if you setting someOne.Damage = 1 to kill an entity and make this property be another entity, you won't get the above tooltip.

-- Contributor: GrandSong

⚠️ **GitHub.com Fallback** ⚠️