bool CheckCollision(object 1, object 2, flag)
bool CheckCollision(areaid, x1, y1, x2, y2, flag) //好像没有人这么用
Bit 0 - Map non walkable
Bit 1 - LOS blockers, like walls for instance
Bit 2 - Leap blocks, blocks ranged
Bit 3 - Block Player's walk but not Mercenary's walk
Bit 4 - Some doors, entry/exits, a few waypoints. Also seems to have something to do with light.
Bit 5 - Blocks light only, not LOS
Bit 6 - Stuff from catapults in act 5 and poison clouds not
Bit 7 - Players, all players, yourself and others
Bit 8 - NPCs & Monsters (a dot)
Bit 9 - Items
Bit 10 - Objects
Bit 11 - Closed Doors
Bit 12 - NPCs & Monsters (where you collide with them)
Bit 13 - Friendly NPCs
Bit 14
Bit 15 - Dead bodies, tps, most likely interactive non blockers
看了很久也没看懂具体意思,对着脚本例子也不行,能否请高人举例12,说明详细涵义 |