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 → If anyone has the time....
If anyone has the time....
2001-11-05, 2:58 PM #1
I need a Cog.... So when you Click a Consol (Thing) It Changes That players Respawn point to the Sector the Thing is IN... like a Save Point in a game.. This is for MP

------------------
---
I know you believe you understood what you think i said, but iam not sure that you realize, that what you herd, is not what i ment.
2001-11-05, 6:00 PM #2
Wont change the respawn point, but you sure cant tell the difference!

 

# 11/2001 GBK
Symbols
Message Activated
Message Newplayer
Thing Console0
Thing Console1
Thing Console2
Thing Console3
Thing Console4
Thing Ghost0
Thing Ghost1
Thing Ghost2
Thing Ghost3
Thing Ghost4
Int Used=4
Sound Click
Int Lock=-1 Local
Int I=0 Local
Thing Player Local
End
Code
Activated:
Player = Getsourceref();
Capturething(Player);
For(I=0;I<=Used;I=I+1){
If(Getsenderref() == Console0) { Lock = I;
Playsoundlocal(Click, 1.0, 0.0, 0x4); } } Stop;
Newplayer:
If(Getsenderref() == Player) {
Teleportthing(Player, Ghost0[Lock]); } Stop;
End

 


It works, I tested it... [http://forums.massassi.net/html/biggrin.gif]



------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2001-11-05, 6:04 PM #3
Hmm, maby an explination...


'Console' - The objects. That you activate.

'Ghost' - The corrosponding ghost positions.


 

The reason there are 5 sets of consoles/ghosts is, well, you couldnt have more than 1 of these cogs in a level. If you need more than 5 checkpoints, hack the symbols and add as many as you need, and be sure to update your 'Used' variable. (Thats how many of the console/ghost sets youve used...)

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.

↑ Up to the top!