Wrong Parameter Type in BP Tooltip
I have the following small sample BP:
I retrieve an array of all component of a certain class for the given actor, then receive the first element of that array. This GET node returns a reference to an object of the class I was asking for. However, as you can see in the screenshot, the tooltip in the BP editor tells me this GET node would return an Intenger, which is not the case.
Is this a bug or a feature?
asked Jul 30 '15 at 11:33 PM in Using UE4
i don't know if
intended or not, but this Get will return you element of same type as array, in case on screenshot it will be actor value in get, because "get components by class" return array of actors
maybe it shows integer because of inner hidden freaky realisation of arrays, i got this idea because of many problems and restrictions to use of arrays in blueprints, for example making 2D array straight impossible in BP, while it allowed in C++, if you interested in workaround for 2D arrays in BP look here https://answers.unrealengine.com/questions/180534/two-dimensional-array.html
answered Jul 31 '15 at 04:17 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here