Page 2 of 2

Posted: 04 Oct 2010, 17:45
by gl0om
I was puzzled too.
I passed User object to Task, to use it inside doTask();
Inside doTask User object was always exists, I don't know why, so I found the solution.
I store all necessary NPCs' ID in Vector and check it in doTask - works fine


Posted: 07 Nov 2010, 12:18
by dannyrg
Hi gl0om,

Could you post the code you use for NPC's and the general concept for them in the context of what you are doing?