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 you use Blueprints or Blutility to run console commands within the editor?

I'm trying to execute a console command within the editor. I have a Blutility actor with a Execute Console Command node with stat fps as the command (I've tried several different commands, not interesting in any particular commands, just console commands in general). The function has Call In Editor checked, and there's the button for the function on the detail panel for the actor. Pressing the button shows as firing within the Blueprint editor, but the command doesn't do anything within the editor.

alt text

My assumption is the Execute Console Command only functions when playing a project, but is there a reason for this limitation? Is there a way to work around it?

Product Version: UE 4.18
Tags:
more ▼

asked Dec 07 '17 at 04:56 PM in Blueprint Scripting

avatar image

ZacD
3 1 4 6

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

1 answer: sort voted first

Found the answer on another answerhub question.

https://answers.unrealengine.com/questions/160918/execute-console-command-in-construction-script.html

" The in-editor console commands aren't executable in this way. The 'Execute Console Command' node will only work with the 'in-game' console commands during play.

What you are essentially trying to do is extend the editor. Which is something that we encourage, but at the moment however the only way to do this is through C++ via plugins. We recently had a Twitch stream on just this functionality.

http://www.twitch.tv/unrealengine/b/613761642

We had an experimental feature early on that would allow users to build editor tools through blueprints but it it was taken out of the editor just after beta because it wasn't working as intended. This is something that our devs would like to see make it into the editor again, eventually."

more ▼

answered Dec 10 '17 at 07:51 AM

avatar image

ZacD
3 1 4 6

(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