• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

coolguy684

Captain
13 Badges
Nov 20, 2007
398
0
  • Hearts of Iron Anthology
  • Arsenal of Democracy
  • Darkest Hour
  • Diplomacy
  • Europa Universalis III
  • Iron Cross
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • 500k Club
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
so i wanted to add an under strength unit to albania in the world in flames mod. can somebody please tell me wats causing an "illegal top level object" error to occur?
landunit =
{ id = { type = 19900 id = 1 }
location = 390
name = "I. Shqip Armé"
division =
{ id = { type = 19900 id = 2 }
name = "I Këmbësori Pjesëtim"
strength = 35
type = infantry
}
}

edit: im not sure wat to do for the "type" and the "id" albania has no exisitng units, so idk wat to put
 
Watch out at the brackets and their position.Its really annoying.Check out in other units.This is a common error.Watch out to have the same number of brackets and at the same position.Don't forget any bracket at all.

I think that yor ID should work.I guess.