Drugs Plugin
#2
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.
Reply
Thanks given by:


Messages In This Thread
Drugs Plugin - by Cpt_Redbeard - 02-15-2016, 03:33 AM
RE: Drugs Plugin - by NiLSPACE - 02-15-2016, 05:05 AM
RE: Drugs Plugin - by xoft - 02-15-2016, 06:59 AM
RE: Drugs Plugin - by Cpt_Redbeard - 02-17-2016, 03:47 PM
RE: Drugs Plugin - by Schwertspize - 02-17-2016, 04:00 PM
RE: Drugs Plugin - by Cpt_Redbeard - 02-18-2016, 02:42 AM



Users browsing this thread: 1 Guest(s)