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"

umg not turning off

I switch on umg on mode Input ui only. Inside img to turn it off im trying to use - get input key time down \ was input key just pressed \ is input key down - but nothing works, so i cant turn off the umg sry for my english, it could be bad, hope sceenshots will say what im trying to make)

alt text

alt text

Product Version: UE 4.15
Tags:
снимок3.png (148.2 kB)
снимок4.png (256.2 kB)
more ▼

asked Apr 09 '17 at 12:16 PM in Blueprint Scripting

avatar image

FFspro
1 1 3

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

3 answers: sort voted first

in fact this is all not exacly what i needed. umg is removing without saving as var. and, tick is hooked up just for testing what ive found - i had to make umg focusable to keyboar, make focus after creating a widget and in umg itself i overrided on key down fuction

more ▼

answered Apr 09 '17 at 01:49 PM

avatar image

FFspro
1 1 3

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

You need to save created widget in a variable and when you use remove from parrent you need place this variable to remove it. If I help you dont forgot to vote this answer :) alt text

a3.jpg (437.6 kB)
more ▼

answered Apr 09 '17 at 01:17 PM

avatar image

MK Studio
636 16 7 31

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

you should replace the location of "remove from parent" and all it's logics, to the player blueprint, instead checking every tick if an input was pressed. it's a bad practise, just as well as performance hit (use event tick as little as possible).

if the problem still exist, please post the new blueprint state as screenshot in comment so i will help you further.

also a tip: don't use branch to check "is notebook", instead - just set "is notebook" to true, it will have the same result anyway.

more ▼

answered Apr 09 '17 at 01:19 PM

avatar image

Arty-McLabin
925 21 44 64

(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