SP Tutorial Module System How to Add New Troops

Users who are viewing this thread

Delta901 said:
Hello, I am getting an error saying this
("steppe_bandits","Steppe Bandits",icon_khergit|carries_goods(2),0,fac_outlaws,bandit_personality,[(trp_steppe_bandit,4,4:cool:,(steppe_barbarian,2,15)]),
NameError: name 'steppe_barbarian' is not defined

Did I type something wrong?
This is the wrong thread to ask in, and the problem is obvious:
Code:
("steppe_bandits","Steppe Bandits",icon_khergit|carries_goods(2),0,fac_outlaws,bandit_personality,[([b][color=blue]trp_[/color]steppe_bandit[/b],4,48),([b]steppe_barbarian[/b],2,15)]),
Not having referenced his troop correctly, Delta901 was in pain when his compiler threw an error.
 
Lumos said:
Delta901 said:
Hello, I am getting an error saying this
("steppe_bandits","Steppe Bandits",icon_khergit|carries_goods(2),0,fac_outlaws,bandit_personality,[(trp_steppe_bandit,4,4:cool:,(steppe_barbarian,2,15)]),
NameError: name 'steppe_barbarian' is not defined

Did I type something wrong?
This is the wrong thread to ask in, and the problem is obvious:
Code:
("steppe_bandits","Steppe Bandits",icon_khergit|carries_goods(2),0,fac_outlaws,bandit_personality,[([b][color=blue]trp_[/color]steppe_bandit[/b],4,48),([b]steppe_barbarian[/b],2,15)]),
Not having referenced his troop correctly, Delta901 was in pain when his compiler threw an error.

Thanks Lumos, Found out the problem...No comma at the end
 
Back
Top Bottom