Undo(#ANIM, id)

Report any Hollywood bugs here
Post Reply
User avatar
Juan Carlos
Posts: 887
Joined: Mon Sep 06, 2010 1:02 pm

Undo(#ANIM, id)

Post by Juan Carlos »

I tryed to use the instruction Undo(#ANIM, id) with Layers but I found a problem, only remove the first frame, perhaps is the way to show the animation with Interval and using DisplayAnimFrame(2, 349, 310, Frame) and a counter to stop the animation with the last frame and perhaps the Undo instruction only remove the first frame instead of the last, or all animation like I though, other question is with the use of Layers because a direct option will be RemoveLayer(id) but is complicated, it will be more easy when you load each brush give it the property or option with {Layer=number of id} as way more easy to handle the graphics as Layers?
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Undo(#ANIM, id)

Post by airsoftsoftwair »

Don't understand the problem with Undo(#ANIM, id). Please provide an MCVE for illustration.

Concerning layers: You can use layer names instead of IDs. Then it should be much more convenient because layer names don't change when the layer changes its position on the z-stack.
Post Reply