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"

Can't see blueprint function library functions

I've created the following class:

.h #pragma once

 #include "Kismet/BlueprintFunctionLibrary.h"
 #include "MyBlueprintFunctionLibrary.generated.h"
 
 /**
  * 
  */
 UCLASS()
 class UMyBlueprintFunctionLibrary : public UBlueprintFunctionLibrary
 {
     GENERATED_BODY()
     
 
     UFUNCTION(BlueprintCallable, Category = "File")
         static bool FileSaveString(FString SaveTextB, FString FileNameB);
 
     UFUNCTION(BlueprintPure, Category = "File")
         static bool FileLoadString(FString FileNameA, FString& SaveTextA);
 };
 

.cpp #include "ExperimentGame.h" #include "MyBlueprintFunctionLibrary.h"

 bool UMyBlueprintFunctionLibrary::FileSaveString(FString SaveTextB, FString FileNameB)
 {
     return FFileHelper::SaveStringToFile(SaveTextB, *(FPaths::GameDir() + FileNameB));
 }
 
 bool UMyBlueprintFunctionLibrary::FileLoadString(FString FileNameA, FString& SaveTextA)
 {
     return FFileHelper::LoadFileToString(SaveTextA, *(FPaths::GameDir() + FileNameA));
 }
 

For some reason these functions will NOT show up in the editor, even though I have succesfully compiled multiple times! I can't find the class either by it's name: intellisenselikehooha

Product Version: UE 4.11 Preview
Tags:
more ▼

asked Mar 19 '16 at 08:04 PM in C++ Programming

avatar image

thejjokerr
16 6 4 8

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

2 answers: sort voted first

Rebuilding did not help, refreshing the project files did not work, but I found a workaround to make this work:

  • If you have a active plugin in the Plugins/ folder, remove it's Intermediate and Binaries folders

  • Upon starting your project you will be asked to rebuild this

  • When you get in-editor you can see the functions when context-sensitive is disabled.

more ▼

answered Mar 20 '16 at 01:34 PM

avatar image

thejjokerr
16 6 4 8

avatar image virtual_method May 10 '17 at 08:54 AM

This worked perfectly for me. @thejjokerr Mark this as the answer!

avatar image acxsasx May 15 '18 at 03:10 AM

4.19.2 - Was trying to do a simple blueprint in the main project, compiled fine but not seeing the method anywhere. Deleted the binaries and intermediate folders, generated project files, compiled and now it is there.

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

My English is not so good, so let the photos talk! alt text

alt text

1.png (31.6 kB)
2.png (58.3 kB)
more ▼

answered Mar 22 '16 at 07:35 AM

avatar image

xiniuniu
16 2

avatar image virtual_method May 10 '17 at 08:44 AM

This didn't work. I already had the public: section by default, and they don't appear on the bluleprint editor.

(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