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"

Blueprint actor doesn't update ingame

I made a floor blueprint that has Num X tiles variable on it. I can edit this in editor just fine, now in the level blueprint I'm trying to call a random variable into that Num X and it works fine, I can see the number changing, however the mesh itself doesn't update.

If I tick something, i.e: 'generate overlap events', 'hidden', 'other variable'... after runing the script it seems to refresh.

Product Version: UE 4.19
1.jpg (236.6 kB)
2.jpg (91.1 kB)
more ▼

asked Mar 18 '19 at 12:14 PM in Blueprint Scripting

avatar image

1 1 2

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

1 answer: sort voted first

You should put all of your stuff inside your Floor BP in Construction Script like you did. Using Level Blueprint is not a good idea for this kind of setup.

more ▼

answered Mar 18 '19 at 01:05 PM

avatar image

Ego Studio
606 4 4 5

avatar image mandrille Mar 18 '19 at 02:11 PM

Thanks but even if I modify it from the Floor graph, so when game starts, change the variable to a random number, still won't update the mesh. Is there something I have to do to dynamically update meshes ingame or something?

avatar image Ego Studio Mar 18 '19 at 02:52 PM

May you show your new setup please ?

avatar image mandrille Mar 18 '19 at 03:15 PM

sure, the flow remains the same, I'm just trying to trigger it ingame alt text

it looks like 4, which is its default value, but it sets at 50. Now if I for example, update the hidden in editor tag, it updates the mesh

alt text

3.jpg (238.8 kB)
4.jpg (155.6 kB)
avatar image Ego Studio Mar 18 '19 at 03:27 PM

Really strange indeed. I used to work with this kind of setup but never ran into this situation. One possible cause is your variable looks like replicated. Shouldn't you update this with server ?

avatar image mandrille Mar 18 '19 at 03:34 PM

thanks for helping, I was trying out but reverting all to default and still doesn't seem to work. I'm new to this kind of stuff so I have no idea what can it be, could you give me more info on how to update it?

avatar image Ego Studio Mar 18 '19 at 04:05 PM

There is a lot of tutorial on youtube https://www.youtube.com/results?search_query=unreal+engine+4+replication (Else, you may also try to disable replicated flag on variables first to see if it works)

(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