AddPet char.AddPet(charaindex,1610); --给予对象enemy编号为1610的宠物 Additem char.Additem(charaindex,1); --给予对象道具编号为1的道具 AllWarpToSpecificPoint char.AllWarpToSpecificPoint(charaindex,2000,58,65); --将对象整个队伍传送到地图2000,58,65 check char.check(charaindex); --检测对象是否在服务器 copyChar char.copyChar(charaindex,toindex); -- 将charaindex的数值给予toindex complianceParameter char.complianceParameter(charaindex); --更新对象数据 charSaveFromConnect char.charSaveFromConnect(charaindex); --给对像charaindex进行存档 delFunctionPointer char.delFunctionPointer(charaindex); --给对像charaindex设定事件(初始化事件 循环事件对话事件窗口事件重叠事件战后事件) dropPetFollow char.dropPetFollow(charaindex,0); --让对象charaindex第一只宠物跟随(0为第一只宠 4为第5只) DelItem char.DelItem(charaindex,9); --删除对象charaindex道具栏第一格物品 (1为头部, 9为道具栏第一格) DelPet char.DelPet(charaindex,petindex); --删除对象charaindex身上petindex索引的宠物 DischargeParty char.DischargeParty(charaindex); --将对象charaindex脱离团队 DropPet char.DropPet(charaindex,0); --将对象charaindex身上第一只宠丢出(0为第一只宠 4为第5只) Finditem char.Finditem(charaindex,1); --寻找对象charaindex道具栏道具编号为1的道具并返回道具索引(如未找到返回-1) FinditemHave char.FinditemHave(charaindex,1); --寻找对象charaindex道具栏道具编号为1的道具并返回道具栏位置(如未找到返回-1) Findpet char.Findpet(charaindex,777,140); --寻找对象charaindex宠物栏里等级为140级enemybase编号为777的宠物并返回宠物索引 (如未找到返回-1) 如任意等级输入-1 FreePetSkill char.FreePetSkill(petindex,52); --寻找对象petindex技能栏里技能编号为52的技能 (如未找到返回-1) getPlayerMaxNum char.getPlayerMaxNum(); --获得服务器玩家在线总数 getPetMaxNum char.getPetMaxNum(); --获得服务器宠物在线总数 getInt/setInt char.getInt(charaindex,常量/常量值); --获得/设定对象charaindex常量或常量值的数值型数据 getChar/setChar char.getChar(charaindex,常量/常量值); --获得/设定对象charaindex常量或常量值的字符型数据 getWorkInt/setWorkInt char.getWorkInt(charaindex,常量/常量值); --获得/设定对象charaindex常量或常量值的临时数值型数据 getWorkChar/setWorkChar char.getWorkChar(charaindex,常量/常量值); --获得/设定对象charaindex常量或常量值的临时字符型数据 getCharPet char.getCharPet(charaindex,0); --获得对象charaindex宠物栏第一个宠物的索引 getPetSkill char.getPetSkill(petindex,0); --获得petindex第一个技能的技能编号 getRightTo8 char.getRightTo8(num,2); --将num右移2位后返回所得数值 JoinParty char.JoinParty(meindex,charaindex); --将对象meindex加入到charaindex队伍 logou char.logou(charaindex); --将对象charaindex登出服务器 MapAllWarp char.MapAllWarp(2000,1000,92,99); --将地图2000所有玩家传送至地图1000,92,99 PetLevelUp char.PetLevelUp(petindex); --将petindex提升1等级 RandRandWalk char.RandRandWalk(meindex); --让对象meindex随机移动一格 setPetSkill char.setPetSkill(petindex,0,52); --将petindex技能一变为52号技能 sendStatusString char.sendStatusString(charaindex,"K0"); --更新对象charaindex宠物1数据(P--玩家 ,K(0-4)--宠物1-5数据,W(0-4)宠物1-5技能数据) Skillupsend char.Skillupsend(charaindex); --让对象charaindex获得技能点 talkToAllServer char.talkToAllServer("内容",颜色值); --发一条消息给服务器所有在线玩家 TalkToCli char.TalkToCli(charaindex,meindex, "测试",颜色值); --给对象charaindex发消息的消息内容为( meindex名字 : 测试 ) Updata char.Updata(charaindex,常量/常量值); --更新charaindex的常量 |
评论(0)