I can’t manage to use AddDynamic in my constructor. It does not appear in the list and when i compile it, it says i need to define it and i get many errors.
What is this about?
Am i wrong to use it in the constructor?
Do i need to define it in some way?
I get this error:
Errore C2664 ‘void TBaseDynamicMulticastDelegate<FWeakObjectPtr,void,UPrimitiveComponent *,AActor *,UPrimitiveComponent *,int32,bool,const FHitResult &>::__Internal_AddDynamic(UserClass ,void (__cdecl ANPC:: )(UPrimitiveComponent *,AActor *,UPrimitiveComponent ,int32,bool,const FHitResult &),FName)’: cannot convert argument 2 from 'void (__cdecl ANPC:: )(AActor ,int32,bool,const FHitResult &)’ to 'void (__cdecl ANPC:: )(UPrimitiveComponent *,AActor *,UPrimitiveComponent *,int32,bool,const FHitResult &)’ GoldenEgg D:\Matteo\Progetti UE4\GoldenEgg 4.16\Source\GoldenEgg\NPC.cpp 18