[Request] UOperators

Hi there

I did some poking around in the level blueprint editor first before asking this question, so here goes.

When I was looking through the Vector class to address an earlier issue, I noticed some of the special operator functions in there. I began wondering if you guys had anything like UOperators for Level Blueprints, or if anything like that was in the works?

I’m not talking about your basic native operators in blueprints (like AND, OR, XOR), but the actual ability to roll your own through a UOPERATOR() keyword above an operator method, or have it as an ‘operator’ parameter passed in UFUNCTION() or something to that effect.

It makes sense that if we can create our own operator methods now (without having to use static and “final” finally!), that this same behavior should lend itself to level blueprints as well…

The concept of an ‘operator’ doesn’t really make sense in the context of visual programming. An operator is really just a function with a very short name and different param order. That doesn’t really matter in Blueprints. Most of the UScript operators still exist in BP, but with slightly more descriptive names (eg rotator >> operator is RotateVector). Sorry if I misunderstand the question!

James