Char.SetPartyNPCChar.SetPartyNPC(CharIndex,Mode)函數功能設置指定NPC的組隊模式,讓NPC可以組隊。參數說明 CharIndex:數值型 目標的 對象index。 Mode:數值型 組隊模式,0爲禁止組隊,1爲可以組隊。 返回值返回當前的組隊模式,如果爲-1則設置失敗。