GrimyBunyip Posted February 23, 2016 Share Posted February 23, 2016 You can do: class'CLASS_NAME'.default.VARIABLE_PROPERTYto grab a var, can you do the same for functions? Link to comment Share on other sites More sharing options...
eXecator Posted February 23, 2016 Share Posted February 23, 2016 For static functions you can use class'CLASS_NAME'.static.STATIC_FUNCTION() Link to comment Share on other sites More sharing options...
davidlallen Posted February 23, 2016 Share Posted February 23, 2016 See also:http://forums.nexusmods.com/index.php?/topic/3834670-cross-mod-function-calls/&do=findComment&comment=34897850 Link to comment Share on other sites More sharing options...
eXecator Posted February 23, 2016 Share Posted February 23, 2016 To clarify. If you want to call a public static function of a class you dont have an instance of use class'CLASS_NAME'.static.STATIC_FUNCTION()If you want to call a public non-static function of a class -> get an instance If you want to do anything with a class not in your package/mod (except XComGame stuff) -> you might want to look at http://forums.nexusmods.com/index.php?/topic/3834670-cross-mod-function-calls/ Link to comment Share on other sites More sharing options...
Recommended Posts