Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Hmm... cog help again
Hmm... cog help again
2002-01-14, 5:42 AM #1
I got the 3do, and i need a cog that makes it so when soemone steps on it, they get stuck there, but on the cog i need it so it lets me set how long it makes the person stay there.
-------------------------
May-The-Force-Be-With-U
2002-01-14, 9:03 AM #2
Sounds like fun...

Code:
#01/2002 GBK
Symbols
Message Entered
Message Touched
Message Timer
Thing 3d0
Flex Freezetime
Thing Player  Local
End
Code
Entered:
Touched:
If(Getsenderref() != 3d0) Stop;
Player = Getsourceref();
Setactorflags(Player, 0xa00000);
Settimer(Freezetime);
Stop;
Timer:
Clearactorflags(Player, 0xa00000);
Stop;
End


It should work... [http://forums.massassi.net/html/wink.gif]

------------------
Success is the inverse relationship between effort, gain, and loss.

[This message has been edited by GBK (edited January 14, 2002).]
And when the moment is right, I'm gonna fly a kite.

↑ Up to the top!