Posted by Antony Espindola on July 13, 1998 at 09:37:35:
In Reply to: Re: respawing (Hey JM) posted by Kenobi on July 13, 1998 at 08:33:29:
If that's what you want to do, edit the 00_slashgrate.cog Timer:
and add a timer to the end:
message Timer
float Delay=15.0
[...]
// end of 00_slashgrate code
SetTimer(Delay);
Return;
// executes after Delay
// readjoin and texture surfaces
clearadjoinflags(frontface,2);
clearadjoinflags(backface,2);
setfacegeomode(frontface,4);
setfacegeomode(backface,4);
SetWallCel(frontface,0);
SetWallCel(backface,0);
SetTimer(0);
Return;
(NB: you'll have to change the name of "fontface"
and "backface" to whatever they are in the COG)
This would, after a delay, set the two faces back
to impassable and also reset the texture.
Hope this helps!