|
Post by christougher on Aug 28, 2019 6:23:58 GMT
Hi, I have the lastest and greatest CGK installed. I'm trying to fire a custom event when a specific killable does damage. I have custom events setup just fine elsewhere. However I can't seem to get it to fire the event or even spawn prefabs. Can you confirm it's working??? If I simply add the same custom event to the Damage Prefab settings and Events section it works fine.
|
|
|
Post by christougher on Aug 28, 2019 6:38:19 GMT
Actually it only appears to work if Spawn on Death Hit is true.
|
|
|
Post by DarkTonic Dev on Aug 28, 2019 19:54:34 GMT
So I believe what is happening is that you expect the Damage Prefab & Custom Events to fire the events and spawn damage prefabs even when it destroys the target. If you want that to happen, yes - you must turn on "Spawn on Death Hit". Otherwise it's not "damage" because it will trigger the Death Prefab and you may not want both. That's what the checkbox is for, so you can control that.
I will now update the documentation so that's a little more clear.
|
|