Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to find out event-function parameter signatures?

Hi all, After I made my first gameplay experiments with Blueprint Projects I am currently on learning the UE4 API from the C++ side too. So far everything went well but now I have a question in my mind...

Where do I find event-signatures? (Except in the forums and awenser hub^^ )

For example:

 void OnBeginOverlap(class AActor* OtherActor,
                class UPrimitiveComponent* OtherComp,
                int32 OtherBodyIndex,
                bool bFromSweep,
                const FHitResult& SweepResult);

So that I can use this function via:

 trigger->OnBeginOverlap.AddDynamic(this, &ASomeActor::OnBeginOverlap);

So where to find the signature of the UFUNCTION above? Hope someone can help me out with this research problem^^

Product Version: UE 4.7
more ▼

asked Jun 05 '15 at 01:54 PM in C++ Programming

avatar image

10 3 5 11

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

For example:

You know that OnActorBeginOverlap belongs to AActor.


  1. First go to the declaration of OnActorBeginOverlap in AActor.h

  2. You'll see that the declaration type is FActorBeginOverlapSignature

  3. Go to the declaration of FActorBeginOverlapSignature (in Visual Studio use the F12 key)

  4. And now you should find something like this: DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams( FActorBeginOverlapSignature, AActor*, OverlappedActor, AActor*, OtherActor );

And there you have your signature ;)

more ▼

answered May 13 '17 at 05:08 AM

avatar image

8 6 7

avatar image nic-hartley Jun 26 '17 at 04:05 AM

Warning about this -- it takes forever (or at least it did for me). Don't cancel it; just let it work for a little while.

avatar image nic-hartley Jun 26 '17 at 04:09 AM

Could you explain what the macro means? I'm assuming it's DECLARE...(OwningType, Param1Type, Param1Name, Param2Type, Param2Name); is that correct?

avatar image Nachtmahr Jun 26 '17 at 04:30 AM

I usually use Visual Assist its the quickest way (Visual Studio Plugin with a loot of awesome Features)

But if you want a Quick way to find out just Add any Function and Compile. Look at the Output log it will tell you that it failed because blahblablah... expected Parameters -> hard to read list of the Parameters here

But hey they are there =)

And yes you are Correct about the Macro. There is one variation with _RetVal at the end and this will be the first Parameter followed by DelegateName followed by Parameters. More info here:


(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question