excellent idea,what a genius,LOOL,I really have (not using /lua) some maps that i wish to use /lua in and kinda try to make them like a module or something like that.. I don't know,but COOL IDEA,/full ofc support,/support,please please make this idea,I'm very happy and pleased right now :D
tfm.exec.moveNpc(Npc id, position X, position Y, walking)
tfm.exec.moveNpc(Npc id, something direction, boolean true)
tfm.exec.moveNpc(1, "right", true)
tfm.exec.moveNpc(1, "left", true) (moving right automatically changed to false)
tfm.exec.moveNpc(1, "left", false)
I think it would be better and easier to realize, NPC will be very similar to real player but not controlled by human but functions. Also will be nice if on NPC will work functions like tfm.exec.giveCheese(Npc id), tfm.exec.setShaman(Npc id) etc.
Of course, support.
+ tfm.exec.mouseNpc(Int id, Int X, Int Y)
+ tfm.exec.keyboardNpc(Int id, Int keyCode)
Last edit on 1470072720000