Hi im trying to recode Deathbringer saufrang …
That where High overlord pick the body of deathbringer to hands
I tryed this
case EVENT_OUTRO_ALLIANCE_98:
if (Creature* deathbringer = ObjectAccessor::GetCreature(me, _instance->GetData64(DATA_DEATHBRINGER_SAURFANG)))
{
Vehicle vehicle(_HighLordSaurfang->GetVehicleKit());
deathbringer->CastSpell(_HighLordSaurfang, SPELL_RIDE_VEHICLE, true);
deathbringer->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
deathbringer->setDeathState(ALIVE);
deathbringer->_EnterVehicle(vehicle, 0);
}
_events.ScheduleEvent(EVENT_OUTRO_ALLIANCE_98, 2000);
break;
Problem is he dont pick the body into hands
I must delete this line
deathbringer->_EnterVehicle(vehicle, 0);
Because it crashing … can someone help ?