I try to understand it in some original lua files(ParasiteHouse.lua、BeeHouse.lua、Gliter_Tomb.l ua ...etc.).
=> pX2Game:CreateNPCReq_LUA(NPC_UNIT_ID.NUI_JOKE_PPOR U, //I just only know THIS ONE! :(
pNPCUnit:GetHardLevel(), //unknown No.1
TRUE, //unknown No.2
pos, //unknown No.3
pNPCUnit:GetIsRight(), //unknown No.4
0, //unknown No.5
false //unknown No.6
)
I think we can control what npc we are created is enemy or teammate. Did anyone know how to use this function?
and anyone know how to create exp. or ed cash machine?
=> pX2Game:CreateNPCReq_LUA(NPC_UNIT_ID.NUI_JOKE_PPOR U, //I just only know THIS ONE! :(
pNPCUnit:GetHardLevel(), //unknown No.1
TRUE, //unknown No.2
pos, //unknown No.3
pNPCUnit:GetIsRight(), //unknown No.4
0, //unknown No.5
false //unknown No.6
)
I think we can control what npc we are created is enemy or teammate. Did anyone know how to use this function?
and anyone know how to create exp. or ed cash machine?