BrunoMine
BrunoMine
The argument makes it much simpler.
Could you improve it?
Erro ``` 2018-05-10 13:40:27: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'sunos' in callback luaentity_Step(): ...Mods/minetest 0-5-0/bin/../mods/advanced_npc/npc.lua:1246: attempt to compare nil with number 2018-05-10 13:40:27: ERROR[Main]: stack traceback:...
A `/clearobjects` command fix all. The problem is fixed
I've tested everything, the state program is working as expected.
Here is how I soved the problem with rotation ```lua npc.programs.instr.register("sunos:rotate_to_pos", function(self, args) npc.programs.instr.execute(self, "advanced_npc:rotate", { start_pos = self.object:getpos(), end_pos = args.pos, }) end) ``` In the future we can...
About program state Definition 1 - This is a configured program which run if the programs queue is empty. It means this programs stays how a program state even if...
Ok. I want to translate the API for my native language (new file API-pt_BR.txt for cme) and i can update constantly. OK for you?
I know my english grammar is bad, but you really do not understand? A part is fully copied from the [documentation on the wiki](https://github.com/hkzorman/advanced_npc/wiki/Dev_Actions_Schedules). I'm not an expert in documentation,...
What exactly is the `action` parameter? A [number](https://github.com/hkzorman/advanced_npc/blob/master/actions/actions.lua#L83), a function or a table value? It is strange to be a table value. ``` * `npc.add_action(luaentity, action, args)`: Add action into...