Array Lengths and Literal Values
Hi there, can someone tell me why is this considered a compile error.
I outputted an array, get it's length and do an integer comparison
It makes no sense, the output is clearly an integer. If literal value is what it's having problem with, comparing two array would also give the same problem.
Apparently I found out I am unable to make any useful mathematical operations with array lenght.
asked Mar 11 '14 at 02:48 AM in Blueprint Scripting
ue4-archive ♦♦ STAFF
The problem might be that the 'filter array' node is not being executed, is execution pin is not connected to anything.
sometimes you have to convert an integer to and from related types
you might try turning off the context sensitivity in the right click menu and see if there's any other integer conversions that might help with your current issue
here's a pic!
in case you didnt know, uploading pics is fine, just make sure to embed them in your posts, dont upload them to separate service.
you can use the picture button provided in this posting system :)
welcome to the epic udn forums!
Follow this question
Once you sign in you will be able to subscribe for any updates here