OutFox icon indicating copy to clipboard operation
OutFox copied to clipboard

[Feature Request] Comparing objects and inheritance at Lua scripting level

Open EngineMachiner opened this issue 10 months ago • 1 comments

Please Select the game mode your feature request is about.

All Game Modes

Is your feature request related to a problem?

My library, scripts and actors sometimes need to be compared and since there is no comparison function it's a bit hacky to compare them through their tostring name or their methods to verify inheritance. Not sure if this fine but just mentioning it here for discussion.

Describe the solution you'd like

Maybe functions that verify inheritance and the actual type? Or some global compare function to compare the objects?

Describe alternatives you've considered

No response

Additional context

No response

EngineMachiner avatar Mar 04 '25 03:03 EngineMachiner

Made a test function that outputs the class name, even on getting parent or child objects. This could fit with what you want?

Image

JoseVarelaP avatar Mar 31 '25 18:03 JoseVarelaP