Page 8 of 8

Re: Brainstorming from the Community [unofficial]

Posted: Sun Nov 24, 2013 12:05 am
by JKos
I have a few modding/scripting related wishes:

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
}
2. And support for multiple hooks/type

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
}
3. and maybe a possibility to define/remove/modify hooks in runtime.

Code: Select all

removeHooks{
	id='someOtherSnailHooks',
	entityName='snail'
}
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 :)