View Single Post
Old 02-14-2007, 03:55 PM   #6 (permalink)
Jeff
ConnectUO Creator
 
Jeff's Avatar
 
Join Date: Jan 2004
Age: 28
Posts: 4,886
Default

Quote:
Originally Posted by Nochte View Post
It helps a lot. I've got it sorta working. When a property (move) is called, regardless of if it's Player or AIPlayer, the Player's move is used. How would I specify that the AIPlayer's move needs to be used when the type is AIPlayer?

Let me know if you need to see my declarations for everything, I'll attach on the next post. Thanks
Is Move a virtual Function? if so, when you override it in the AIPlayer class, reguardless of it being Player or AIPlayer, it should call its top overriden function.
__________________
Jeff Boulanger
ConnectUO - Core Developer

Want to help make ConnectUO better? Click here to submit your ideas/requests
Use your talent to compete against other community members in RunUO hosted coding competitions

If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team.


Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO
Jeff is offline   Reply With Quote