Re: Solution (Re: respawing)one last question


[ Follow Ups ] [ Post Followup ] [ The Massassi Temple Message Board ]

Posted by Kenobi on July 13, 1998 at 10:46:26:

In Reply to: Solution (Re: respawing) posted by Antony Espindola on July 13, 1998 at 09:37:35:

: If that's what you want to do, edit the 00_slashgrate.cog
: and add a timer to the end:
:


: message Timer
: float Delay=15.0
: [...]
: // end of 00_slashgrate code
: SetTimer(Delay);
: Return;

: Timer:
: // 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!
When changing the frontface and backface do I keep the brackets in place? and do I place your code after the last "return" but before the final "end"? Thank you for the help.



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ The Massassi Temple Message Board ]