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 → mode == 0 && mode == 1
mode == 0 && mode == 1
2002-08-10, 8:23 PM #1
Is it possible to detect both mode 0 and mode 1. Like so some one presses both mouse buttons to fire both guns. I tried If(mode == 0 && mode == 1) but it didnt seem work.

Any ideas?
Team Battle.
2002-08-11, 7:37 AM #2
I'm not sure what you're trying to do. Mode is only an integer variable. Of course it can't equal 0 and 1 at the same time. If you fire primary and secondary at the same time, only the first can be recognized.

------------------
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2002-08-11, 11:55 AM #3
Ya, whoops :O

Is there a way around it though?
Team Battle.
2002-08-12, 6:25 AM #4
You mean to create a third fire for when both buttons are pressed?

------------------
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.

↑ Up to the top!