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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Blueprint editor protected variables are not protected.

When you press on an eye, blueprint variable should (i belive) become public and if eye closed it stay proteded, which is not the case right now.

Any blueprint variable, if not market private, can be edited anywhere, which is straight up break all encapsulation security measures.

Product Version: UE 4.12
Tags:
more ▼

asked Jul 09 '16 at 05:51 PM in Using UE4

avatar image

CriErr
1.2k 57 21 55

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

1 answer: sort voted first

Hi CriErr,

Toggling the Eye icon only sets the 'Editable' setting in the Variables Details panel. That only effects if the variable is publicly editable on instances of the Blueprint or not. I believe what you are looking for is the 'Private' setting just below that.

Let me know if that helps clarify things or not.

Cheers,

TJ

more ▼

answered Jul 11 '16 at 07:29 PM

avatar image

TJ V ♦♦ STAFF
41.1k 1009 183 493

avatar image CriErr Jul 26 '16 at 08:15 AM

For some reason i didn't get email notification for your answer and i forgot about report, so im sorry for late response, back on topic.

If blueprints follow basic principles of OOP, there are should be 3 types of members in class:

Public - accessible from anywhere for everyone

Protected - accessible only for owner class and child classes.

Private - accessible only for owner class but not accessible for child classes.

Functions have enum parameter with those 3 exact types, but variables use 2 bool check marks for this stuff, which is broken, every variable if its not private, can be edited from any blueprint in any type.

I would quote person from this topic: In theory... protected is the "editable" and "expose on Spawn" the attribute let's you edit the variable via the details. At last in old version but is true that is not working.

Right now even if variable is not market for being editable, you can edit settings even thru default panel. For component with this set of variables, i get this defaults panel when add it to actor.

avatar image TJ V ♦♦ STAFF Aug 03 '16 at 08:27 PM

I believe this is working as our developers intended for blueprints. Take a look through this documentation to see what I mean.

(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