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"

How to interact with actor when it is in hidden level

I am trying to create material and level changing option. I have created theme packages which player can change in game and also able to change different levels. But whenever I change theme package it changes only in the visible levels not in hidde levels. But i want the same material applied in all levels either they are visible or not. I am stuck here. Please guide me how can i solve this.

Product Version: UE 4.19
Tags:
more ▼

asked Jul 12 '18 at 09:44 AM in Blueprint Scripting

avatar image

Jack_Ghost2243
1 1

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

1 answer: sort voted first

it depends on your actual design how did u do it inside the blueprint.

I would suggest the following.

  • Store all actors of all levels in an array .

  • On each item, change the material based on user selection.

  • For better optimization , store the material itself based on user selection, once the level is load apply this material to all actor inside the level .

more ▼

answered Jul 12 '18 at 11:35 AM

avatar image

Omar Vector
435 16 16 29

avatar image Jack_Ghost2243 Jul 12 '18 at 05:58 PM

Thanks for your answer. but i have not used Array yet and i dont know how can i store actors in array. i am writing all my codes in persistent level. Please also tell me how can i store materials in that you mentioned in 3rd point. i am attatching my codes how i am doing it.

bp.jpg (323.8 kB)
bp-part-01.jpg (178.1 kB)
bp-part-02.jpg (222.3 kB)
(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