02-15-2016, 05:05 AM
Interesting idea. It also shouldn't be too hard to implement. If the OnKilling hook also works on pickups you can use that. Otherwise you have to check manually if an entity is in a fire. If OnKilling works check if the TakeDamageInfo's damagetype is set to dtBurning.
Then you simply use cWorld:ForEachEntityInBox to give an entity effect to all entities around the burning item.
Then you simply use cWorld:ForEachEntityInBox to give an entity effect to all entities around the burning item.