ENTITY:KeyValue
Description
Called when the engine sets a value for this scripted entity.
This hook is called before ENTITY:Initialize when the key-values are set by the map.
Otherwise this hook will be called whenever Entity:SetKeyValue is called on the entity.
See GM:EntityKeyValue for a hook that works for all entities.
See WEAPON:KeyValue for a hook that works for scripted weapons.