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"

How to use the script plugins (ScriptGeneratorPlugin and ScriptPlugin)?

I wonder if there is a tutorial to use ScriptGeneratorPlugin and ScriptPlugin? I would like to know how can I bind Lua, javascript or any language to UE4.

Product Version: UE 4.8
Tags:
more ▼

asked Aug 22 '15 at 03:53 PM in Using UE4

avatar image

Arthur Masson
284 36 42 60

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

The best answer I found on this thread:

The script plugin is in 4.3.0 Release source code, in the Engine/Plugins directory. I don't think it's been compiled into the 4.3.0 binary release. You have to compile it yourself.

  1. If you haven't done so, you need to download the 4.3 0 Release source code from https://github.com/EpicGames/UnrealE.../4.3.0-release (you need to have the sources from github, not from the Epic launcher)

  2. Got to http://www.lua.org/download.html and download the latest source (version 5.2.3)

  3. Remove it from the archive (use 7zip or similar archive program) and put it in \Engine\Plugins\Script\ScriptPlugin\Source\ScriptPlugin\ in a folder called lua-5.2.3 If you do this right, in you should have a path at \Engine\Plugins\Script\ScriptPlugin\Source\ScriptPlugin\lua-5.2.3\src that contains the .c and .h source files for lua.

  4. Run the GenerateProject.bat script that's in the root folder of your engine source.

  5. Rebuild the engine.

  6. You should now have an engine that has Lua built-in and you can add scripts to blueprint objects in the editor.

more ▼

answered Aug 22 '15 at 03:56 PM

avatar image

Arthur Masson
284 36 42 60

avatar image Arthur Masson Aug 22 '15 at 03:59 PM

There is also SkookumScript which comes with an UE4 plugin.

avatar image Arthur Masson Aug 22 '15 at 04:01 PM

And klawr, another plugin to script in C#

avatar image Arthur Masson Apr 29 '16 at 07:22 AM

Unreal.js is really awsome!!!

(comments are locked)
10|2000 characters needed characters left
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