Program a campaign how would you do it?

So i find mysewlf in a point that i need to start programming a campaign, means a story driven gameplay.

The first thing i need to program is that whenever player finds a tree on the way, Something will happend, ex. A new messsage will be displayed, new sound will be played, just when a tree it’s found.

How would you guys code that, the thing is there are delegates, atleast in UE4 wich i know how to use, but how to use them in UDK =? any ideas?

I use a simple actor with a array using variables in a struct. Each array item is a steep of the mission.

Steps are things like kill a NPC, get some item, arrive to some location, etc. The actor spawn the required pawn/item/mark in hud, etc, in every steep.

Pawns and items have some variable linked to the mision actor. The mission can fill the variable in the pawn at the steep start, so when the pawn is destroyed, it calls the mission to notify the event. Or the item when is taken.

NPC’s can assign missions to the player from their dialogs.

Other way to do it is to controll all from the mission actor, using a state with some sleep, and check if the steep is done (dead pawn, items, location, etc).

Thanks that-s a nice point of view I see this way fior now but with structs.

But still i would like the opinion of soemone who used delegates just like one uses them in unreal engine 4.

Hello Neongho, how are you?
I do have some tutorials here that may be similar to what you are saying. This tutorial has triggers and activates certain events. All you have to do is modify Kismet. Minimal coding required.
Maybe it will help you?
Here is a horror demo with triggers:
http://www.worldofdasm.com/index_files/Horror_DEMO.htm
And here are some tutorials on other miscellaneous stuff:
http://www.worldofdasm.com/index_files/Savegametutorial_menu.htm
I have other topics that may help you in some way:
http://www.worldofdasm.com/index_files/UDK_resources2.htm
It should work with 2012 UDK up to the 2015 version.
Sorry if this does not help!

Fine roach nice to see you mate.
thanks for the aid! will see them