Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 25 Dec 2009 06:33:23 -0000
thanks from previous answers to my openfile question, i can now make much better and clearer code thanks to you.
Next question is about
SetLayerName()
Normally you use it:
However, ssince i would like to use it on runtime giving names to all enemy layers, amount that changes during the game, it gives me extra trouble keeping up with he number of layers existing so is there way to do something like this:
Code: Select all
Createanim(nextone, otherspecs)
Displayanimframe(the one just created, otherspecs)
Setlayername(the one just created, "name")
Or is there a command to for example check how ,many layers thwre are on screen currently?