Wow... I feel dumb, one, for not checking this till 6 days later, second for not noticing my mispell. Thanks.
EDIT: Ok, so now I have this weird problem. This code randomly decides between civilian and knights then places them in a line, but its placing them on top of each other as well. Any solutions?
start:
if easy=1 then global troops=15
if normal=1 then global troops=12
if hard=1 then global troops=10
if easy=1 then global maxtroops=15
if normal=1 then global maxtroops=12
if hard=1 then global maxtroops=10
if easy then global entroops=5
if normal=1 then global entroops=10
if hard=1 then global maxentroops=15
global seiges=0
global defences=0
global att=troops+seiges
global def=troops+defences
global gold=1000
global goldm=0
global cit=0
global maxcit=5
rem load media.
`load image "media\background.bmp", 0 `FOR WHEN IT IS CREATED!
load image "media\BC1.png", 1
load image "media\BD1.png", 2
load image "media\BG1.png", 3
load image "media\CIT1.png", 4
load image "media\KNI1.png", 5
load image "media\BuildMenu.bmp", 6
load image "media\Cottage.bmp", 7
load image "media\CottageL.bmp", 8
load music "media\Shetland Song.mp3", 1 `Happy village music
load music "media\Explorocean.mid", 2 `Temporary cave music
load music "media\Opponent.mid", 3 `Fight music
gosub main
main:
loop music 1
for x = 0 to 15
imgwid=image width(x+1)
imgheight=image height(x+1)
sprite x+1, 100+imgwid, 50, 4+rnd(1)
next
wait key
Also this doesnt work.
text 600, 100, "Attack: "+str$(att)
text 600, 115, "Defence: "+str$(def)
Too lazy to make a signature.