x

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"

A Bind event is a listener or an addresser with an attached event for triggering?

1) Event Bind listens through a tick event to which it is tied. 2) Event Bind adds the event address to the event to which it is attached as a result of the event, the event is sent to the attached event addresses. 1 or 2?

Product Version: Not Selected
Tags:
more ▼

asked Jul 12 '18 at 07:56 AM in Blueprint Scripting

avatar image

Dreika
16 2 3

avatar image mightyenigma Jul 12 '18 at 10:17 PM

2 Sounds more like what happens, but I don't know for sure. I just know that I don't have to wire it to anything in my Tick event in Blueprints. I just need to bind it at some point once, before I expect to have it trigger anything in my class.

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

1 answer: sort voted first

I am not a programmer and this might be totally wrong!

  • Think of the Event Dispatcher as a list of addresses.

  • When you Bind an event you are actually sending the address of that event to the dispatcher.

  • When the Dispatcher Event is Called, it goes through its list and calls every event that it has the address to.

This is why it is important to unbind events before an object is destroyed. Otherwise the Dispatcher will still hold the address to an event in a destroyed object or/and outright prevent the garbage collector to remove the object.

more ▼

answered Jul 12 '18 at 10:40 PM

avatar image

dZh0
1.3k 6 5 10

avatar image dZh0 Jul 14 '18 at 08:08 AM

I have converted the comment into an answer since this seems to be the way it works. It think it is 2) in your question but I am not really sure.

Note that this is an oversimplification of the system.

avatar image Dreika Jul 19 '18 at 10:36 PM

sps this answer

(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