I am a C # programmer and have a question regarding C ++ / Lua, how do I create and use Lua scripts? In GameSDK there is a file "scripts.pak" that I have been trying to study. For example:
main.lua
Code: Select all
function OnInit()
Script.ReloadScript("scripts/common.lua");
end
2) And how does this script call work?
3) Do I necessarily need to use the GameSDK and its scripts?