Hi all,
I am trying to create the effect if blood spreading down a wall. I made this script and attached it to a blood decal:
-- LUA Script - precede every function and global member with lowercase name of script + '_main'
-- I am trying to gradually scale up this
function bleedingdecal_init(e)
zscale = 100
end
function bleedingdecal_main(e)
Prompt(zscale)
Hide(e)
ScaleObject( 70032, 100, 100, zscale)
if zscale < 800 then
zscale = zscale + 1
end
Show(e)
end
The decal gets scaled up in the editor but not in Test mode. Can someone please give me advice.
Thanks.
Julian - increasingly disillusioned and jaded