Download

Killing enemies quest

Hello. I have 3 spiders in my level. I want a text “Quest Complete” text appear after I’ll kill all 3 of them, but I can’t figure out how. I have tried a thing with a tick event and getting all actors of class with foreachloop afterwards but it isn’t working for me.

Wouldn’t it be simpler to have an event in your enemy class that triggers when he dies ? That way when the dead event triggers you can call another event in your player class to check if SpiderKiller is >= to 3, if it isn’t the case increase SpiderKilled and print the number but if it’s true print “Quest Complete”. IDK just a thought to avoid event tick and make things simpler.

I see! Didn’t think about it that way. Thanks for the help, I appreciate it!