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 do I call game plugin functions in custom Character class?

After creating my plugin based on the Blank Plugin Example (from UE4 Source)

and adding some extra functions to read from a dll, I am wondering how to call these functions from a

custom Character/Actor class in my main project directory

Product Version: Not Selected
more ▼

asked Apr 17 '14 at 09:24 PM in C++ Programming

avatar image

31 7 11 16

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

1 answer: sort voted first

In introduction to plugins tutorial, i briefly address this, but you basically pull this off by exposing your public interfaces to your module. There are some more involved examples included in the UE4 GitHub repository, but suffice to say that your module public interface is the entry point into your plugin.

If you require more details please don't be shy.

more ▼

answered Apr 18 '14 at 07:06 AM

avatar image

374 6 11 79

avatar image pal Apr 21 '14 at 03:24 PM

Thanks for the suggestions Bob, I have followed your tutorial and created the required files for my plugin, but now I am getting this error when I build the game

LogPluginManager:Error: 'Descriptor file '../../../../../../Users/admin/Documents/Unreal Projects/PluginProject/Plugins/TestPlugin/TestPlugin.uplugin' could not be loaded. Failed to read file. {1}

have you seen this error before? if you can give me some tips on where I should start looking that would be awesome

avatar image Moss Sep 10 '15 at 11:34 AM

Have you checked if the file exists?

(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