mob
var/MHP = 100
var/HP = 100
Login()
..()
UpdateHealth()
proc
UpdateHealth()
var/objx = 20
var/objy = 20
for(var/L in "Health: [HP]")
var/obj/font_letter/f = new
world << f
f.icon_state = "[L]"
f.screen_loc = "[objx],[objy]"
world << f.icon_state
world << f
client.screen+=f
objx++
obj
font_letter
icon = 'Arial7pt.dmi'
Problem description:
Basically, i am trying to create a loop with a string. What i am trying is to try to get the variable L to = each letter in that string and assign it to a new font_letter and change it icon_state to the correct letter.
I recieve no errors but it doesnt appear.