Re: Re : How to have 2 weaps?


[ Follow Ups ] [ Post Followup ] [ The Massassi Temple Message Board ]

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 local

selected:
if (WeapCycle == 0)
{
WeapCycle=1
SetCurWeapon(player, ?)
othe selcted code
}
if (WeapCycle == 1)
{
WeapCycle=0
SetCurWeapon(player, ?)
othe selcted code
}


Note: Don't forget to double the variables in the sysmbols section (e.g. povModel1, povModel2; mountAnim1, mountAnim2; etc.)


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ The Massassi Temple Message Board ]