Code: Select all
image nshim = LiveComposite(
(384, 864),
(0, 0), "char/sn/new/ner_1.png",
(0, 0), "char/sn/new/ner_1_hair.png",
(0, 0), Animation("char/es/blink/es_blink0.png", 3, "char/sn/new/ner_1_hair2.png", .1, "char/sn/new/ner_1_hair3.png", .1, "char/sn/new/ner_1_hair4.png",),)
Is there a way to either stop the Animation (hair shimmer) part from playing repeatedly, or to create a transform that only plays once?
I can just tell the animation to sit on its blank/transparent frame for a long period of time like 20 minutes which would help with not having the animation play unless I switch to a different sprite pose, but then the animation is just going to be running in the background when it doesn't need to be.
Alternately, another more jurryrigged approach is to simply make a separate LiveComposite which is only the hair shimmer and set it up to go:
show nshim
show nshim_hairshimmer
with dissolve
pause .5
hide nshim_hairshimmer
But that also seems overly complicated.
Any thoughts? Let me know if I'm not making any sense.