Re: Solution (Re: respawing)one last question


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

Posted by CosmoDNA on July 13, 1998 at 13:47:51:

In Reply to: Re: Solution (Re: respawing)one last question posted by Kenobi on July 13, 1998 at 10:46:26:

: : 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.

I dunno about the legalities involved here, but if you have MOTS, on the Hutt Palace MP level,
there's a slashable grate...You slash it, it leads to a room with a trap swtich...
After the trap sets off, the grate becomes solid again...

It's in the Hutt throne room, behind the table on the right...Take a look at that cog, too =)

CosmoDNA


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 ]