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"

Launch options blueprint nodes - various issues?

I've discovered there are now some blueprint nodes that we can use to access the commandline and parse options:

alt text

  • The "Get Command Line" node is working.

  • The "Has Launch Option" node will find a launch option but only non-key-value options e.g. it will find "key1" if -key1 is in the commandline but not if -key1=value is in the commandline.

  • I can't get the 4 nodes at the bottom to work at all. e.g. the "Has Option" node - If I pass the return value from "Get Command Line" into the "Options" input, and set "In Key" to key1, it returns false (while the "Has Launch Option" node returns true).

Is there a special way to use the bottom four nodes? I can parse the commandline manually as a workaround but it'd be convenient if these juicy-looking nodes worked :)

Product Version: UE 4.16
Tags:
options_bp.jpg (36.8 kB)
more ▼

asked Jun 06 '17 at 10:43 PM in Blueprint Scripting

avatar image

Spoondog
450 13 23 38

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

1 answer: sort voted first

The lower four seem to be geared toward parsing parameters given in the connection string (i.e. url ) and it needs to start with a question mark (and be separated with question marks, apparently?)

There do not appear to be any other blueprint-exposed functions regarding the command line (esp. WRT parsing) as of 4.16.

Actually, I couldn't even find the blueprint equivalents of the FParse::Param() functions either...

more ▼

answered Nov 16 '18 at 09:24 PM

avatar image

Tsaukpaetra
76 3 7

(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