Closed BrunoMine closed 6 years ago
Thanks for this suggestion. Your past issue where you needed to add the action timer made me think about this and in the latest version this has been implemented as npc.step(self, dtime)
https://github.com/hkzorman/advanced_npc/blob/5f9afae5d9f110bb8bdecf362da03ed9f14a95bf/npc.lua#L1366
Great!
This control is required for the API to control the NPC (in
on_step
callback).Could this be simplified for final developers with a simple method? (eg
npc.action_queue_timer(luaentity, dtime)
)You may need to process other things in the future, so you can use a more comprehensive syntax method (eg
npc.on_step(luaentity, dtime)
)