Replacing one actor with another ?
Hello guys !
I cant get this to work !!! =(
I have an actor with that does different stuff. ( eats, stands, runs and more)
How can I get it to go from standing to eating and then back to standing again ?
I know how to get it from standing to eating, but I cant get it back to the "standing" animation again =(
How do I do this ?
When ball collides with "standing" "destroy"
When "standing" collides with "ball" destroy and spawn actor "eating"
NOW I DONT KNOW HOW TO GET IT BACK TO "standing" AGAIN ???
Thanks !
I cant get this to work !!! =(
I have an actor with that does different stuff. ( eats, stands, runs and more)
How can I get it to go from standing to eating and then back to standing again ?
I know how to get it from standing to eating, but I cant get it back to the "standing" animation again =(
How do I do this ?
When ball collides with "standing" "destroy"
When "standing" collides with "ball" destroy and spawn actor "eating"
NOW I DONT KNOW HOW TO GET IT BACK TO "standing" AGAIN ???
Thanks !
Comments
destroy the actor behind it if you need to
1 Actor:
Animate Behavior
Rule: when
Attribute: self.Image = lastImageInAnimation.png
--Timer:
---After: 0.3 seconds … whatever you want for delay … if no delay … don't put in the timer
----newAnimation
if there are size/position changes for the newAnimation … use changeAttributes before that animation
@};- MH
Its many different animations of the same actor
Thank you sooooo much !
when I do image changes/animations … I drag in the Change Image behavior in and turn it off … and then by scrolling thru that, I know the correct names
when it works correctly … I delete that Change Image behavior
@};- MH
I want to do this:
When "ball" collides with actor "monster" change animation to "monster eating"
after the last image in the "monster eating" animation I want to change animation back to "monster".
Sound hard ?
I cant get it to work =(
Rule: when
Event: overlaps or collides with ball
--Animate (the eating one)
Otherwise:
--Animate (the regular one)
and that is even easier
@};- MH