You are viewing our Forum Archives. To view or take place in current topics click here.
Can you put negative values in script, buttons on wii?
Posted:
Can you put negative values in script, buttons on wii?Posted:
Status: Offline
Joined: Aug 15, 201014Year Member
Posts: 315
Reputation Power: 11
Status: Offline
Joined: Aug 15, 201014Year Member
Posts: 315
Reputation Power: 11
Can you put negative values in script for black ops?
I am currently modding black ops on the wii and have been messing with dvars i put
self setClientDvar("perk_killstreakReduction", 9 );
and at a killstreak of 16 kills i finally got a care package haha any ideas helpful, like should i try a decimal?
Also, does anyone know if the buttons are the same for the wii in black ops as on xbox? For example could i put something like
and expect it to work?
Well thank you for your time ttg any ideas helpful:)
I am currently modding black ops on the wii and have been messing with dvars i put
self setClientDvar("perk_killstreakReduction", 9 );
and at a killstreak of 16 kills i finally got a care package haha any ideas helpful, like should i try a decimal?
Also, does anyone know if the buttons are the same for the wii in black ops as on xbox? For example could i put something like
iniButtons()
{
self.buttonAction = [];
self.buttonAction[0]="+usereload";
self.buttonAction[1]="weapnext";
self.buttonAction[2]="+gostand";
self.buttonAction[3]="+melee";
self.buttonAction[4]="+actionslot 1";
self.buttonAction[5]="+actionslot 2";
self.buttonAction[6]="+actionslot 3";
self.buttonAction[7]="+actionslot 4";
self.buttonAction[8]="+frag";
self.buttonAction[9]="+smoke";
self.buttonAction[10]="+attack";
self.buttonAction[11]="+speed_throw";
self.buttonAction[12]="+stance";
self.buttonAction[13]="+breathe_sprint";
self.buttonPressed = [];
for(i=0; i<14; i++)
{
self.buttonPressed[self.buttonAction[i]] = false;
self thread monitorButtons( self.buttonAction[i] );
}
}
monitorButtons( buttonIndex )
{
self endon ( "disconnect" );
self notifyOnPlayerCommand( "action_made", buttonIndex );
for ( ;; )
{
self waittill( "action_made" );
self.buttonPressed[ buttonIndex ] = true;
wait .05;
self.buttonPressed[ buttonIndex ] = false;
}
}
isButtonPressed( actionID )
{
if ( self.buttonPressed[ actionID ] == 1)
{
self.buttonPressed[ actionID ] = 0;
return true;
}
else
return false;
}
and expect it to work?
Well thank you for your time ttg any ideas helpful:)
You are viewing our Forum Archives. To view or take place in current topics click here.