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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Test command line arguments in editor

Is there a method to test if command line parameter are working in the editor. I have code that's dependent on input from the command line and want to test it without building the game.

Product Version: UE 4.10
more ▼

asked Dec 08 '15 at 12:51 AM in Using UE4

avatar image

10 3 8 10

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

2 answers: sort voted first


You can test comand line parameters adding it to Editor Preference

alt text

param.png (119.4 kB)
more ▼

answered Dec 08 '15 at 09:05 AM

avatar image

8.4k 254 41 399

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

This absolutely did not work for me. I'm using the "Get Command Line" Blueprint node and it is consistently returning a blank for a single word put in that field.

more ▼

answered Feb 19 '19 at 12:18 PM

avatar image

100 1 5 11

avatar image mfoda-pumpkin Apr 22 '19 at 04:35 PM

This works fine. Per the screenshot above, this setting only applies to "Play in Standalone Game", and not to Play in Editor. To run in Standalone mode, see screenshot below

alt text

(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