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 → Flag Questions
Flag Questions
2001-04-20, 12:07 PM #1
Could someone explain what this section of cog means? It's part of the weap_saber selected message.

if (assign == 0)
{
PlayMode(player, 42);
mountAnimID = jkPlayPOVKey( player, mountAnim, 0, 0x14 );
SetTimerEx(0.7, 0, 0, 0);
}
else
{
PlayMode(player, 42);
mountAnimID = jkPlayPOVKey( player, holdAnim, 0, 0x14 );
jkSetFlags(player, 0x80);
}


What happens when you remove the jkSetFlags(player, 0x80);?

In the selected message of the weapon cogs(not saber) there's a jkclearflags(player, 0x5); What would happen if you marked it out?

------------------
And though your very flesh and blood
..Be what your Eagle eats and Drinks,
You'll praise him for the best of birds,
..Not knowing, what the Eagle thinks. -Cassandra
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2001-04-20, 1:26 PM #2
As for the "assign" it is from GetSenderRef() and I never had any occasion that will return anything other than 0, so I don't know what the lower part of this code is for.

>In the selected message of the weapon cogs(not saber) there's a jkclearflags(player, 0x5); What would happen if you marked it out?

Mark it out and see [http://forums.massassi.net/html/wink.gif]

------------------
http://millennium.massassi.net/ - Millennium
2001-04-20, 6:42 PM #3
These questions have to do with getting the glow to work with two saber cogs.

If I put Printint(assign); below the section of cog I posted above, printint will return a value of 0. However, when I mark out the Jksetflags(player, 0x8); the glow will not work. But, when it isn't marked out, the glow works. But, since assign is equal to 0, it shouldn't make any difference, right?

I have the jkclearflags(player, 0x5); marked out so the weapon cogs don't change the saber flags. I need it that way for my glow system to work. I just wanted to know if there were any negative effects.

------------------
Warning! User is not Windows compatible.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2001-04-20, 7:27 PM #4
The jkFlags are mentioned in the jkspec, except for the 0x80 which is not even getting called.

------------------
http://millennium.massassi.net/ - Millennium

↑ Up to the top!