Re: Brainstorming from the Community [unofficial]
Posted: Sun Nov 24, 2013 12:05 am
I have a few modding/scripting related wishes:
1. Official support for entity class specific hooks. Something like this:
2. And support for multiple hooks/type
3. and maybe a possibility to define/remove/modify hooks in runtime.
But the class specific hooks support is more important than those other features which can be scripted fairly easily.
4. And publish all entity (and component) properties as a read only variables by default, there is no need for getter-methods.
Thanks
1. Official support for entity class specific hooks. Something like this:
Code: Select all
defineHooks{
id='myHooks'
class='Monster',
onMove=function(monst)
end,
priority=1
}
Code: Select all
defineHooks{
id='mySnailHook',
entityName='snail',
onMove=function(monst)
end
priority=2
}
defineHooks{
id='someOtherSnailHook',
entityName='snail',
onMove=function(monst)
end
priority=3
}
Code: Select all
removeHooks{
id='someOtherSnailHooks',
entityName='snail'
}
4. And publish all entity (and component) properties as a read only variables by default, there is no need for getter-methods.
Thanks