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 fix Array - Remove item that removes more than one item at a time?

I have a integer array and this array is stored in HUD class blueprint, I am using 'remove item' node to remove single item from that array. When I remove item from UMG widget (cast to HUD class), it work appropriately. When I try to remove same item from Level blueprint (again cast to HUD class), it removes desire item and even some other item.

Where should I look ahead to solve this issue?

Is their some other workaround to remove item from the array or how can I replace the item with some other value (as it is a integer array it is fine for me to replace the value to 0)?

Product Version: UE 4.7
Tags:
more ▼

asked Jun 06 '15 at 11:51 AM in Blueprint Scripting

avatar image

DevilEye
108 16 24 28

avatar image Narghile Jun 06 '15 at 12:40 PM

Hi Mate

There must be something going on. Tested this the other night for someone else and I could remove just what I wanted.

Here is an Array Loop that removes all integers that = 1

alt text

Narg

avatar image DevilEye Jun 07 '15 at 04:37 AM

I had some more logic setup in other blueprint which was causing this issue. Thanks for your time, you always helps me a lot :)

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
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