Posted by Captain Ramen on July 12, 1998 at 14:07:56:
In Reply to: Re : How to have 2 weaps? posted by Hideki_o on July 12, 1998 at 10:04:27:
:
: : : How can I have 2 weapons assigned by a key like in MotS for JK. (ie)fist and saber, blastech and bryar.Thanks
: : : Hideki_o
I think you have to put both weapons' code into the sane cog. So try something like this:
note: I'm skipping a lot of unecessary cog code here.
int WeapCycle localselected:
if (WeapCycle == 0)
{
WeapCycle=1
SetCurWeapon(player, ?)
othe selcted code
}
if (WeapCycle == 1)
{
WeapCycle=0
SetCurWeapon(player, ?)
othe selcted code
}