fixed spelling mistake
This commit is contained in:
parent
5694f12143
commit
089086e363
@ -44,7 +44,7 @@ def bot_process_movement(input_line):
|
||||
targeteam = int(targeteam)
|
||||
#request by bane that bots should simply not infect people shrug
|
||||
strInput = "-attack; wait 2; -use; wait 5; -attack; wait 5; cl_minmodels 1; wait 2; +use; wait 5; "
|
||||
if targetteam == 3:
|
||||
if targeteam == 3:
|
||||
strInput = "-attack; wait 2; -use; wait 5; +attack; wait 5; cl_minmodels 1; wait 2; +use; wait 5; "
|
||||
#python has no switches and such
|
||||
if state in [5, 7]:
|
||||
@ -60,7 +60,7 @@ def bot_process_movement(input_line):
|
||||
elif state == 8:
|
||||
strInput += "use weapon_knife; wait 5; +forward; wait 2;"
|
||||
|
||||
print('dist_target: ', dist_target, ' enemy distance: ', enemy_distance, ' targetteam: ', targeteam, ' state:', state)
|
||||
print('dist_target: ', dist_target, ' enemy distance: ', enemy_distance, ' targeteam: ', targeteam, ' state:', state)
|
||||
if state not in [0, 2, 5, 7, 8]:
|
||||
strInput = strinput_append(strInput, 2)
|
||||
#print('strInput final:', strInput)
|
||||
|
Loading…
Reference in New Issue
Block a user