I will try to create a plugin at some point, but really have no idea when I will get the time. I haven’t created a separate plugin since version 4.0, and back then there was difficulty getting standalone plugins to work in the shipping builds and content only projects. I think there are ways to make it work now, but I would have to find those posts and read how to do it. Which I just don’t have the time for in the next few days at least.
Do you have Visual Studio installed ? Did you use it when you used C#?
The quickest way to get these working would be:
- backup your project
- install Visual Studio (the Express version will do).
- Then in the UE4 editor, in the file menu, pick “Add code to project”.
- In the Add code wizard that opens, leave the parent class as “None”. Click next.
- Change the class name to “LatentBlueprintLibrary”. Click Create class.
- After a few seconds or so, it will ask if you want to edit the files in visual studio. Select yes.
- Once Visual Studio opens. Close the UE4 editor and Open the files “LatentBlueprintLibrary.h” and “LatentBlueprintLibrary.cpp” in visual studio (from right side window)
- Delete everything that is in those two files.
- Copy the two code sections from my above post to the corresponding file. [First big code section has ////////LatentBlueprintLibrary.h//////// as first line so that goes in the “LatentBlueprintLibrary.h” file. The next section of code goes in the “LatentBlueprintLibrary.cpp” file.
- Now in the "LatentBlueprintLibrary.cpp, the second line is “include “Myprojectheader.h” //change to the standard header for your project”. You need to change the “Myprojectheader” part to whatever the name of your project is. In the right side window of Visual Studio, you should see a file named “WhatEverMyProjectIsCalled.h”, so that line should match that. [ex include “WhatEverMyProjectIsCalled.h”]
- Then from the Build menu select “Build Solution”.
- Once the build has finished and it says it has succeeded, then you can reopen the UE4 editor, and in your blueprints , you should be able to find the two new nodes.