How to use the GetMapXY function from bindings
Find comprehensive JavaScript bindings.GetMapXY code examples handpicked from public code repositorys.
126 127 128 129 130 131 132 133 134 135
}); } //参数: 方向, 0=右上,2=右下, 4=左下,6=左上 cga.turnDir = function(dir){ var xy = cga.GetMapXY(); var x = xy.x; var y = xy.y; switch(dir){ case 0: cga.TurnTo(x+2, y);break;
35
0
1
+ 3 other calls in file
GitHub: hzqst/CGAssistantJS
148 149 150 151 152 153 154 155 156 157
cga.isTeamLeaderEx = ()=>{ return (cga.isTeamLeader == true || cga.getTeamPlayers().length <= 1); } cga.getMapInfo = () => { const info = cga.GetMapXY(); info.indexes = cga.GetMapIndex(); info.name = cga.GetMapName(); return info; };
33
44
5
+ 23 other calls in file
bindings.createKey is the most popular function in bindings (8616 examples)