Quote:
Originally Posted by NcB_Sav
say i want HIT_RIGHTARM and HIT_LEFTARM to call this function
and the legs to call anohter how would i do that i dont really understand thiskinda stuff to behonest withyou guys...
Just trying to expand on my VR(Virtual Reality) plugin
|
Using ConnorMcLeods code, edit the portion to this:
PHP Code:
switch( get_tr2(tr, TR_iHitgroup) )
{
case HIT_LEFTARM ,HIT_RIGHTARM:
{
//call arm hit function
}
case HIT_LEFTLEG,HIT_RIGHTLEG:
{
//call leg hit function
}
}
__________________