Sorry, we don't support your browser.  Install a modern browser

Accessing the Lua code of other objects#27

It would seem to me that all ways to get references to other objects (e.g. GetMyArticlesTableByName) return RivalsCharacterEntity or RivalsArticleEntity objects. This is usually fine, but it’s no good for cases where I need to get RivalsLuaCharacterEntity or RivalsLuaArticleEntity objects - maybe I need to modify a NetProp, or call a custom-defined function.

As to the “how”, I’m imagining a “GetAsLua” function that accepts a RivalsCharacterEntity or RivalsArticleEntity, and returns either the matching RivalsLuaCharacterEntity or RivalsLuaArticleEntity, or nil if it’s not a Lua object.

8 months ago
?

This would be super helpful! Also hoping they support something like this for hitboxes, so you can modify them via Lua code

8 months ago
Changed the status to
Discussing Options
4 months ago