- Home /
Question by
matta9001 · Feb 16, 2014 at 06:30 PM ·
animationjavascriptgunweapon
dynamic_bitset.test bit out of bounds
This is my script for having a gun aim, and then unaim. I don't see a problem with it but it gives me this error above. This is my script
#pragma strict
function Update (){
if(Input.GetMouseButtonDown(KeyCode.Mouse1)){
animation.Play("1911aim");
}
if(Input.GetMouseButtonUp(KeyCode.Mouse1)){
animation.Play("1911unaim");
}
}
Comment
i don't know why the script looks so un neat, i copied and pasted a neat code and the website put it into that, sorry.
To get neat looking code, select your code and use the 101/010 key to format the code. I did it for you here.
Your answer
Follow this Question
Related Questions
Switch Weapon Script Not taking effect HELP!! 2 Answers
Gun Script glich? 1 Answer
Shooting Pistol and Machine Gun 2 Answers
Weapon Switch Animations 1 Answer