So i’ve got the idea but the compiler won’t compile. All I have is:
DECLARE_DELEGATE_OneParam(SuppliesGivenEvent, ASupply*);
UCLASS(Blueprintable, BlueprintType)
class THE_BATTLE_OF_MALDON_API AVillageVolume : public ABaseVolume
{
…
UPROPERTY(BlueprintAssignable, Category = “Events”)
SuppliesGivenEvent OnSuppliesGivenEvent;
}
It just doesn’t know what SuppliesGivenEvent is, Unrecognized type ‘SuppliesGivenEvent’ etc?