Posts: 1,162
Threads: 68
Joined: Mar 2013
Thanks: 0
Given 10 thank(s) in 100 post(s)
I'm now trying to export MoveToPosition
Posts: 4,621
Threads: 113
Joined: Dec 2011
Thanks: 51
Given 58 thank(s) in 410 post(s)
Should be easy. Add //tolua_export after the MoveToPosition line in the cMonster.h
Posts: 1,162
Threads: 68
Joined: Mar 2013
Thanks: 0
Given 10 thank(s) in 100 post(s)
Yes I did, it compiled. Now I need to test with a plugin.
Posts: 254
Threads: 16
Joined: Oct 2013
Thanks: 0
Given 2 thank(s) in 18 post(s)
STR_Warrior and tonibm19, do y'all want to help with the rewrite? I mean, when its all done the old AI will be disappearing completely, and so will all of the changes that you are currently making.
Or do you just want to get something kinda working right now?
Posts: 4,621
Threads: 113
Joined: Dec 2011
Thanks: 51
Given 58 thank(s) in 410 post(s)
01-31-2014, 04:28 AM
(This post was last modified: 01-31-2014, 05:12 AM by NiLSPACE.)
Of course I'd like to help, but I don't think I can create something as advanced as a new AI.
Posts: 6,486
Threads: 176
Joined: Jan 2012
Thanks: 40
Given 157 thank(s) in 838 post(s)
I believe the changes could be made in smaller steps, so that the process is not that painful. For example adding a m_Behavior member to cMonster that will take care of the AI tasks done now in the Tick() functions of individual mobs.