Цитата:
Сообщение от Mayss
А можно по подробнее? просто в transport.cpp нет ArriveEvent, если честно то пытаюсь сделать под mangos-zero.
|
Код:
void Transport::DoEventIfAny(WayPointMap::value_type const& node, bool departure)
{
if (uint32 eventid = departure ? node.second.departureEventID : node.second.arrivalEventID)
{
DEBUG_FILTER_LOG(LOG_FILTER_TRANSPORT_MOVES, "Taxi %s event %u of node %u of %s \"%s\") path", departure ? "departure" : "arrival", eventid, node.first, GetGuidStr().c_str(), GetName());
if (!sScriptMgr.OnProcessEvent(eventid, this, this, departure))
GetMap()->ScriptsStart(sEventScripts, eventid, this, this);
}
}
Код:
GetMap()->ScriptsStart(sEventScripts, eventid, this, this);
номер эвента прибытия посмотрите в дбц.