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 → key works only when host has it
key works only when host has it
2000-10-24, 7:55 PM #1
I inserted the code:
Code:
setinv(player, 47, 0);
setinvavailable(player, 47, 0);

Into the end of kyle.cog's killed section, and it takes away the blue key whenever the player is killed. Problem is, it only activates the console when the host has the key. Both people can pick up and lose the key, but only host can use it. What's up with that?
2000-10-25, 5:12 PM #2
Actually, to word that a little better [http://forums.massassi.net/html/smile.gif] The players can only use their keys when the host has a key. I'm not sure where to start or what to place in the code, or whether to even start with the kyle.cog, or if it's in the cog for the gate that the key opens. I've managed to get the key to disappear from the player's bin when he/she dies, but I don't know that much about cog. I'm sure someone else knows though.

↑ Up to the top!