End Level Object
From WinWolf3D/WDC
This adds an object that ends the level when the player goes into that tile.
[edit]
WL_DEF.H
Find
#define AMBUSHTILE 106
Add before
#define EXITLEVEL 105
[edit]
WL_AGENT.C
Find
void Thrust(void)
Find
if (*(mapsegs[1] + offset) == EXITTILE) VictoryTile ();
Add after
if (*(mapsegs[1] + offset) == EXITLEVEL) playstate = ex_completed;
Then simply add object code 105 to a tile and the level will end when the player enters that tile.