Re: Object does not match target type
Posted: Sat Jun 27, 2015 5:23 pm
An Update:
Whilst driving through the pouring rain to pick my wife up from work I had an ephipany strike me square in the forehead. I have two characters sharing the same script registering the same function. Could this be the cause of the problem? After a day spent shopping I got back to the computer and removed the script component from one of the NPCs. Lo and behold everything started working again and I was happy.
Seriously, It appears that characters cannot share lua conversation scripts, however you want to phrase it as bad things happen, and I had a sub scene in the scenario with a pair of witches where it made logical sense to share, but its not doable.
Mark this one closed,
thanks for your time,
Nick
Whilst driving through the pouring rain to pick my wife up from work I had an ephipany strike me square in the forehead. I have two characters sharing the same script registering the same function. Could this be the cause of the problem? After a day spent shopping I got back to the computer and removed the script component from one of the NPCs. Lo and behold everything started working again and I was happy.
Seriously, It appears that characters cannot share lua conversation scripts, however you want to phrase it as bad things happen, and I had a sub scene in the scenario with a pair of witches where it made logical sense to share, but its not doable.
Mark this one closed,
thanks for your time,
Nick