Posts: 1,162
Threads: 68
Joined: Mar 2013
Thanks: 245
Given 125 thank(s) in 100 post(s)
I'm now trying to export MoveToPosition
Posts: 4,628
Threads: 115
Joined: Dec 2011
Thanks: 693
Given 494 thank(s) in 423 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: 245
Given 125 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: 3
Given 20 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,628
Threads: 115
Joined: Dec 2011
Thanks: 693
Given 494 thank(s) in 423 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,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1075 thank(s) in 852 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.