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"

how to stop structs from exposing newly added variables?

can i stop struct from automatically exposing newly added in it variables throughout all my blueprints? for example i'm using struct to get if specific cutscene has been seen and if not set its bool to true after you watch it.

alt text

Product Version: UE 4.21
struct.png (102.6 kB)
more ▼

asked Jan 08 '19 at 11:50 AM in Blueprint Scripting

avatar image

Akio Kami
1 1 3

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

1 answer: sort voted first

hmm i dont know if there is a way to stop that. maybe there is and im just forgetting about it.

more ▼

answered Jan 08 '19 at 12:26 PM

avatar image

508 5 7 15

avatar image SupDeity Jan 08 '19 at 12:27 PM

but i do think that u can hide the node that u dont want. select the struct and in the right hand side pane where it shows the setting etc unselect variables that u do not want to be shown

avatar image Akio Kami Jan 08 '19 at 12:37 PM

yes you can hide it manually.... but if you using this struct in different levels and in different places you have to find them all and hide those variables by hand after each time you added new variable... that's not efficient

avatar image Akio Kami Jan 08 '19 at 12:45 PM

i think i can use bool array in place of struct but it's hard to follow which index is for what cutscene.and creating for each cutscene separate bool is kinda nightmare when it comes to saving and loading game data.or i just don't know the right way to do it

(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