仙魔无双SDK
面向策划逻辑制作的游戏开发包
|
NPC对象事件定义模板 更多...
函数 | |
function | OnActive (nObjID, nParam) |
NPC被激活的事件 更多... | |
function | OnInteractive (nObjID, nTargetID) |
与NPC的交互事件 更多... | |
function | OnEnterCombat (nObjID, nParam) |
NPC进入战斗的事件 更多... | |
function | OnLeaveCombat (nObjID, nParam) |
NPC离开战斗的事件 更多... | |
function | OnPassiveEvent_Hit (nObjID, nDamage, nAttackerID, nAttackLogicType, nDistance) |
NPC被攻击 更多... | |
function | OnActiveEvent_Hit (pSrcObj, nDamage, nSpellAttack, nCrit) |
NPC主动造成攻击的事件 更多... | |
function | OnPreDead (nObjID, nAttackerID) |
NPC预死亡事件 更多... | |
function | OnSellItem (nObjID, nParam) |
NPC卖完物品的事件 更多... | |
function | OnCheckFunction (pActor, npcFunc) |
点开NPC,检测NPC某一项功能是否显示的事件 更多... | |
function | OnCheckTripPoint (pActor, tripPointId) |
点开传送,检测传送点是否显示的事件 更多... | |
NPC对象事件定义模板