Access to TMap and TSet via blueprints

Could blueprints get added support to acesss TMap and TSet containers in the same was TArray is already supported

Thanks

S

I think they not support that.
Btw, if you want alternate way, you can make struct contain TArray then make that struct to Tarray also.
Like this

USTRUCT(BlueprintType)
 struct FMap
  {
         TArray<T> Value;
  }

then

TArray<FMap> Key;

Now you have custom TMap of T type that can access in blueprint.

It is some way around, but you miss very important feature. Which is fast searching based on hash table, for TMap.

I think this is main reason, why would want to have TMap exposed to reflection in first place.

Ok, so i cannot help much then,

Point of Map is to use different variable types as a index, but it could be emulated with predefind type with class for each type. But i still think Map should be supported nativly :slight_smile:

+1 from me :wink:

+1 from me. Maps, hashtables, or other intelligent data structures would be very useful.

+1 from me

+1 from me

I’m gobsmacked this doesn’t exist, tried to implement my own but without type level template support it is largely futile beyond creating the specific types I need.

I’m totally at a loss as to them not having this feature. HashMaps are used constantly.

bump. I would love to see TMaps in blueprint. Any progress being made on this for UE4.11?

Victory plugin give you kind of pseudo support for it (read adds some nodes in to blueprint, which probably you can do that yourself)

Hello everyone,

This feature request (UE-2114) has been entered into our system. I will provide updates on this request as they become available.

Have a great day

I confirm that Map on blueprint would be useful…

You can achieve a key->value mapping, however it’s quite tricky and involves the use of a macro library and a struct + wrapper class OR function library and struct. It’s a hacky workaround, but one nonetheless.

Hi Sean, do you think this will be added soon to the engine, or is it backlogged?

Hi John,

Currently the developers are focusing their attention on other issues, but I will be sure to provide updates on the feature request as they become available.

Have a great day

-flint (or another Epic Staff member) Will you please make UE-2114 public?

I would love to see TQueue in blueprints too!