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"

Issue with SetTimer function names with/without spaces

So there's an inconsistency involved in how UE handles spaces in function names which can make calling them with nodes like SetTimer very confusing. I would argue this is a bug somewhere rather than a works as intended, let me explain...

If you create a function via CamelCase, it automatically inserts a space into the publicly visible name, so for example if you name a function "NoSpace" it converts the name you see into "No Space" with a space added. If you go to rename it, it even prompts you with the name "No Space" with the space present. It doesn't show the actual name you gave it, it shows the pretty printed name.

However, if you try to call this function with SetTimer and type in "No Space" with the space in there, SetTimer will never call it. You scratch your head, you look at your function and see it's called "No Space", you copy/paste its name to be certain you have it correct, but it still never gets called. Everywhere you see it in the editor it's always referred to as "No Space". Only if you can remember you happened to have originally typed it without a space and know to type in "NoSpace" as the argument to SetTimer will it work. Clearly there is some sort of internal function name not shown anywhere that SetTimer is checking against, rather than the visible name.

Product Version: Not Selected
Tags:
more ▼

asked Feb 05 '15 at 09:40 PM in Blueprint Scripting

avatar image

Furroy
696 26 86 62

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

0 answers: sort voted first
Be the first one to answer this question
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