LuaAPI.wiki
changeset 1443 d25ab95f2311
parent 1428 c3f768cfe463
child 1491 78f16ba1709e
equal deleted inserted replaced
1442:b3d6459f7343 1443:d25ab95f2311
   785 
   785 
   786 `mask` is a number between `0x0000` and `0xFFFF` and used as a bitfield, which means you can combine these flags with `bor`. These are the available flags:
   786 `mask` is a number between `0x0000` and `0xFFFF` and used as a bitfield, which means you can combine these flags with `bor`. These are the available flags:
   787 
   787 
   788 || *Identifier* || *Collision with …* ||
   788 || *Identifier* || *Collision with …* ||
   789 || `lfLandMask` || Terrain ||
   789 || `lfLandMask` || Terrain ||
   790 || `lfCurrentHog` || Current hedgehog and crates ||
   790 || `lfCurrentHog` || *Deprecated! Do not use.* ||
   791 || `lfHHMask` || Any hedgehogs ||
   791 || `lfHHMask` || Any hedgehogs ||
   792 || `lfNotHHObjMask` || Objects, not hogs (e.g. mines, explosives) ||
   792 || `lfNotHHObjMask` || Objects, not hogs (e.g. mines, explosives) ||
   793 || `lfAllObjMask` || Hedgehogs and objects ||
   793 || `lfAllObjMask` || Hedgehogs and objects ||
   794 
   794 
   795 Beware, the collision mask is often set by the engine as well.
   795 Beware, the collision mask is often set by the engine as well.