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"

Construction script can't print string

Hi everyone : I can saw the construction script changed the value of an editable var when I draged around the actor.But the "Print String" node in the construction script doesn't work. Any ideas why?

Product Version: UE 4.12
Tags:
more ▼

asked Dec 30 '16 at 12:04 PM in Blueprint Scripting

avatar image

Surtur
62 6 11 15

avatar image Looniper Dec 30 '16 at 12:07 PM

Can you post an image of the Construction graph?

avatar image Surtur Jan 03 '17 at 06:53 AM

alt text

avatar image Looniper Jan 03 '17 at 01:42 PM

I can't duplicate the problem, except with a Placed class, which doesn't show Prints from the Construct.

Print String is a debugging tool, so it is limited to certain uses..

It will work in a Spawned class, though.

(the addition is taking place, though an INC would be more efficient)

avatar image Surtur Jan 03 '17 at 03:33 PM

I haven't tried spawn the class in run time.But yes, I directly placed the class in the level and the print didn't work. I guess you are right that print string is limited. By the way ,what is INC ?

avatar image Looniper Jan 03 '17 at 05:55 PM

INC is short for Increment.

Any time you add exactly one to a variable and save it, you could shorten the process to an Increment. (and subtracting one to a decrement)

INC-DEC

incdec.jpg (138.3 kB)
avatar image Surtur Jan 04 '17 at 02:35 AM

Oh,the ++ operation. Thank you.

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

1 answer: sort voted first

Hey Surtur,

This is a known issue: https://issues.unrealengine.com/issue/UE-19924

Check your output log to see the print string. To access the output log, navigate to Window->DeveloperTools->OutputLog and it will appear for you to view the result of your print string.

Have a great day

more ▼

answered Jan 03 '17 at 04:50 PM

avatar image

Sean L ♦♦ STAFF
43.8k 485 152 440

avatar image Surtur Jan 04 '17 at 02:40 AM

I found the print in the log. Thank you.

(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