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"

Getting All Instances of Hierarchical Instanced Static Mesh

Hello All,

I am trying to get a list of all instances of a HISMC to save them for Generation later, or a local save of creations. However I am having some trouble getting all Instances of said HISMC.

Here is the Blueprint I have: alt text

And here is what the Debug box looks like: alt text

At first I thought It was my box calc that was wrong, but I got the algorithm from another forum thread. Also I have tried both Local and World Space with no luck.

I wish there was a get all instance indices. I know there is a function to get max, but as some can be removed I cannot just for loop it to the top due to gaps in indexing.

Have a wonderful day!

Product Version: UE 4.19
getallinstances.png (220.0 kB)
debugbox.png (986.5 kB)
more ▼

asked Aug 08 '18 at 02:23 AM in Blueprint Scripting

avatar image

6 1 4

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

1 answer: sort voted first

Actually from my testing it seems just using the get instance count works and there is some reorganizing of numbers behind the scenes. I thought I observed an inverse of this result earlier but I guess it was just human error.

more ▼

answered Aug 08 '18 at 02:55 AM

avatar image

6 1 4

(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