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 → Maxrotvel
Maxrotvel
2001-06-24, 8:22 PM #1
I need a cog that could change the MAXROTVEL for a template when the player pushes a switch(MP cog). Can it be done?
2001-06-25, 6:27 AM #2
Yes, and it only takes one line of code.

ParseArg(thingyouwanttochange, "maxrotvel=(some float number here)");
2001-06-25, 6:31 AM #3
Beware, ParseArg can be very unstable.
2001-06-25, 4:03 PM #4
Aglar: Whoever told you that?

I've not had a problem with ParseArg.

Someone on TACC was saying infinite loops could be a problem too, but again, I've never had a problem.
2001-06-25, 4:18 PM #5
Well, for starters, it's local. This guy wants an MP cog. You can see the complications.
2001-06-25, 5:25 PM #6
So?

Just send a trigger to all players, and do the ParseArg from client side.

↑ Up to the top!