Hi elitepvpers,
I am trying to spawn an NPC (Not and Monster)
For example
i have this
It wont cut it. is it because its an NPC and not an monster? Altough monsters are also NPC's xD.
Or is it an OBJ type?
With kind regards
I am trying to spawn an NPC (Not and Monster)
For example
i have this
Code:
MoverProp* pMoverProp = prj.GetMoverProp(MI_MAFL_LOSHA); if (pMoverProp) { CObj* pObj = CreateObj(D3DDEVICE, OT_MOVER, pMoverProp->dwID); if (NULL == pObj) return; pObj->SetPos(CRiftController::Instance()->GetMoverPosition(nMoverType)); pObj->InitMotion(MTI_STAND); pObj->UpdateLocalMatrix(); ((CMover*)pObj)->m_bActiveAttack = TRUE; ((CMover*)pObj)->AddItToGlobalId(); pWorld->ADDOBJ(pObj, FALSE, CRiftController::Instance()->m_uID); }
Or is it an OBJ type?
With kind regards