SnRolls
Sergeant at Arms
Lots of errors :/Lumos said:You could use python:SnRolls said:Is there a way to not add manually 255 troops to module_troops?
I need to make 255 player troops because each player will have unique items,stats etc...
So the question is can i use loops like try_for_range and somehow make 255 troops automaticly without having to copy and paste 255 times?
Thanks.
Note that I wrote this basically without references, and my experience with Python is equal to five minutes, so... you know... something along these lines, but definitely not this. Sort of.Code:# troops, troops, troops... ] + for i in range(0, 255): ["player_" + str(i),"Player " + str(i),"None",tf_hero,0,0,0,[],str_4|agi_4|int_4|cha_4,wp(15),0,0], + [ # more troops
I suck at python so might need someone who understands it better mayb idk
Something with invalid syntax on the +