metalharbor
Member
I'm trying to make a new HUD element...this is very simple but runs on level load.
I'm trying to turn it into an action like this
But it doesn't seem to be working when it call it from another script.
hud.add(function(myTarget, player)
myTarget.drawString(270, 10, "BONUS", V_SNAPTORIGHT|V_SNAPTOTOP)
end)
I'm trying to turn it into an action like this
local function A_actTarget()
hud.add(function(myTarget, player)
myTarget.drawString(270, 10, "BONUS", V_SNAPTORIGHT|V_SNAPTOTOP)
end
But it doesn't seem to be working when it call it from another script.