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 do I refer to the last 10 objects of an array?

Hey all, I hope everyone is doing well.

I'm trying to refer to the last 10, or the last however many, objects of an array. This is my attempt. alt text

When I hover my mouse over the pin connected to the array index, it just says "integer A", while all the others give a number value. Does anyone know what exactly what I'm doing wrong?

Thanks for your time.

edit just realized that my mouse hover in the screen shot was covering up my " is greater than " symbol >

Product Version: UE 4.21
more ▼

asked Jan 16 '19 at 08:19 PM in Blueprint Scripting

avatar image

83 2 8 14

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

1 answer: sort voted first

Use array Length - 10 As Last Index

more ▼

answered Jan 16 '19 at 08:31 PM

avatar image

6 1 2

avatar image geekTechnique Jan 16 '19 at 11:28 PM

Thank you for your interest in the problem I have, but I'm pretty sure that excludes the last 11 objects of an array.

(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