well it's me again. with a simple problem I can't solve.
I know this problem has been discussed before, but I couldn't find a working solution...probably cuz I'm an idiot.
I want to animate an object (doors of an elevator).
it should start animating (doors shall open) whhen the elevator button was clicked (interact with button).
So far no problem, but how the heck do I make an object loop?
I animated the character in many ways, but that was simple, I just added a loop to another view of the character. how do I do this with objects?
does anyone now a short, simple script and where to paste it?
what I have so far are 5 pictures of the elevatordoors. each one symbolises a frame for the animaton. how to go on
???
Go to the 'Views' window of the editor.
Click the 'New View' button. Import the images into the new view, just like with characters.
In the 'First Time player enters screen' section set the Object view (SetObjectView (obj, view), or Object - Set object view number in the Interaction Editor.
Then, in the button's 'Interact hotspot'(or 'Interact object', if it's an object) section, add an AnimateObject(); or Object - Start object animating command, specifying the view number, and the loop number (probably 0).
yeah, it works real fine. FAAAT. great thx man!! you're my hero for today...or until I have another stupid question ;)