Question about SimLua

I met problems when I was trying to call global functions .
The game warned me ' access to nonexistent global variable xxx' , but I make sure these ones actually exist.
Except for those defined as elements of a certain table, there's still magical bugs.
For example , DamageArea , GetEntityById . These global functions cannot be found .
After looking up this post .
https://supcom.fandom.com/wiki/Console
I tried a lot in game console and if I prefixed commands with SimLua , they woul run . And I think it's maybe because some commands are storaged in SimLua Global , which cannot be found in Lua Global .
I was trying to call functions in SimCallBacks.lua , which failed. But I know I can call DamageArea in Effects/Entities , what's form of power is that ?

https://gist.github.com/HardlySoftly/fc4945cf6fb99e1f8f0e1b8fbb023971

“Be a yardstick of quality. Some people aren’t used to an environment where excellence is expected.”
— Steve Jobs.
My UI Mods
Support me