Hi,
First of all I would like to say thanks for this amazing engine.
I've been looking for a good engine for a few month now, but it seems that I've found what I've been looking for.
This is definitely my favorite engine among those I tested (Irrlicht, Ogre, Visual3D.net, etc.)
Well, I'm trying to implement an AI System for my RPG Game.
I have a StateMachine, States, Messages, etc.
Now I want to access objects by their ID for using them in the message system, like this:
Code:
Game::Obj sender = IDManager->GetObjFromID(senderID);
Game::Obj receiver = IDManager->GetObjFromID(receiverID);
Basicaly sender could be a Goblin (Game::Chr) which is hitting the receiver, who is a Player (Game::Chr).
How can I do that, how can I get the objects behind its ID?
Is there any more elegant way of doing that?
Thanks in advance.
regards,
Kevin