Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision |
trs:npc_behaviour [2017/05/01 01:28] – stohrendorf | trs:npc_behaviour [2017/05/01 01:30] – stohrendorf |
---|
}; | }; |
</code> | </code> |
The ''%%OverlapIndex%%'' contains a block mask for path finding by enemies in two highest bits: Bit 15 (blockable) and bit 14 (blocked). The first one marks it as unpassable by large enemies, like the [[T-Rex (ID 18)|:items:details:tr1:trex]], the [[Mutant (ID 20)|:items:details:tr1:mutant]] or the [[Centaur (ID 23)|:items:details:tr1:centaur]] and is always set behind doors. The second one marks it unpassable for other enemies and is set for movable blocks (if blockable bit is set), for closed doors and for some flip maps (set at start). | The ''%%OverlapIndex%%'' contains a block mask for path finding by enemies in two highest bits: Bit 15 (blockable) and bit 14 (blocked). The first one marks it as unpassable by large enemies, like the [[:items:details:tr1:trex|T-Rex (ID 18)]], the [[:items:details:tr1:mutant|Mutant (ID 20)]] or the [[:items:details:tr1:centaur|Centaur (ID 23)]] and is always set behind doors. The second one marks it unpassable for other enemies and is set for movable blocks (if blockable bit is set), for closed doors and for some flip maps (set at start). |
| |
=== Overlaps === | === Overlaps === |
Back to top