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 ? -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login