When i build default story in new module (module has parent data from main module, with all story scripts "battle", "relations", "trade", and other.), but when i compile story without modify scripts, compiler return many errors like (object 'CHARACTER_Player1' is not defined.) in random game scripts.

How to define this variables in game? I can't found define syntax, or define functions like define('char_player', ORC_DEFAULT_WARRIOR_000);

--

p.s. I have custom heroes in my module (orc with wolf)