Talk:Adding a Weapon Drop System: Difference between revisions
Jump to navigation
Jump to search
Light Kill (talk | contribs) (Created page with "I think it strange method of realization o_0 It may be a little easier if you just make a console command for drop function and no button definition will be needed. Also current ...") |
No edit summary |
||
Line 2: | Line 2: | ||
It may be a little easier if you just make a console command for drop function and no button definition will be needed. | It may be a little easier if you just make a console command for drop function and no button definition will be needed. | ||
Also current code needs to check some player conditions as example if player in vehicle or iron-sight mode enabled or not (if it implemented), and check for availability (can player drop this weapon or not). --[[User:Light Kill|Light_Kill]] 11:52, 10 October 2012 (PDT) | Also current code needs to check some player conditions as example if player in vehicle or iron-sight mode enabled or not (if it implemented), and check for availability (can player drop this weapon or not). --[[User:Light Kill|Light_Kill]] 11:52, 10 October 2012 (PDT) | ||
Hello Light_Kill, thank you for writing this down. | |||
Indeed, you are right that the function call was not well made in terms to say that there were no condition checks. I managed to add a few conditions in the call sequence and added a new ConVar at your request. The tutorial has been updated. Thank you. - malortie. |
Revision as of 06:47, 12 October 2012
I think it strange method of realization o_0 It may be a little easier if you just make a console command for drop function and no button definition will be needed. Also current code needs to check some player conditions as example if player in vehicle or iron-sight mode enabled or not (if it implemented), and check for availability (can player drop this weapon or not). --Light_Kill 11:52, 10 October 2012 (PDT)
Hello Light_Kill, thank you for writing this down.
Indeed, you are right that the function call was not well made in terms to say that there were no condition checks. I managed to add a few conditions in the call sequence and added a new ConVar at your request. The tutorial has been updated. Thank you. - malortie.