[Solved] PrimaryAttack/SecondaryAttack
Hello, I need some help. When I write 'pri' I must use 'attack2' once and then PrimaryAttack for knife is blocked, and it's the same with SecondaryAttack. Question, what I need to do, that when I write 'pri' PrimaryAttack should be [un]blocked at the time, and when I write 'sec' SecondaryAttack should be [un]blocked at the time too?
PHP Code:
|
Re: PrimaryAttack/SecondaryAttack
You basically want to switch between only allowing primary or secondary?
If so, you only need one variable, making two when they always have the opposite function is useless. Code:
Code:
|
Re: PrimaryAttack/SecondaryAttack
Thanks for explaining :), now waiting for my real problem solution, because it still works bad.
|
Re: PrimaryAttack/SecondaryAttack
Quote:
|
Re: PrimaryAttack/SecondaryAttack
I tried to explain it in first post, anyway.. Look when I write toggle now, it should toggle one of attacks, but when I write toggle it's still blocked, untill I used opposite button. Idk how to explain that really, it should be tested and you could see it..
|
Re: PrimaryAttack/SecondaryAttack
I have no idea what I did, but it seems to be working.
Code:
|
Re: PrimaryAttack/SecondaryAttack
Black Rose, thank you a lot!
|
| All times are GMT -4. The time now is 06:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.