minmay wrote:You also could have discovered this by looking at the scripting reference or the asset pack.
The name of this thread is "ask a simple question, get a simple answer"
You seem to think the name is, "dont ask a question, go look at the scripting reference or the asset pack"
Also, nowhere in the Scripting Reference does it answer THOM's question:
http://www.grimrock.net/modding/scripti ... rComponent
Also, the LOG2 Asset Defs.LUA file does not show the "enabled=false" property setting, it simply has this:
Code: Select all
defineObject{
editorIcon = 64,
tags = {
"scripting"
},
name = "timer",
components = {
{
name = "timer",
class = "Timer"
},
{
onStart = function() print('Cannot Scrape Functions'); end,
onPause = function() print('Cannot Scrape Functions'); end,
class = "Controller",
name = "controller",
onStop = function() print('Cannot Scrape Functions'); end
}
},
placement = "floor"
}
In fact, "enabled=false" is nowhere in that Asset file.
Of course, there are well over 100 Script Files also provided in the Asset Pack that could be reviewed to find this answer, but luckily there is a community to discuss things with. Lastly, just like you like to repeatedly point out that there is a scripting reference and asset pack, let me point out that there is a "Reply" button that you do not have to Click every time someone asks a question. Food for thought