I am still trying to understand POL source code. I have found this:
Code: Select all
bool NPC::send_event( Bscript::BObjectImp* event )
{
if (ex != NULL)
{
if (ex->os_module->signal_event( event ))
return true;
}
Bscript::BObject bo( event );
return false;
}