ciecato 0 Posted January 14, 2003 I made an animation for my kubelwagen, this animation is used to close or open the hood of this car. Now i want to make two version of it for the game the one that start with hood closed, and you can opend and reclose as you prefer, (this one i have). But i want to do also a version that starts with hood opened, this mean i have to satart the opening animation (or to execute the opening action) before thr game start, so when i enter in the game my kubel has already the hood opened, and the first command i can execute is the closing one. Thre is something that can be useful to do this? A script? Thanks Share this post Link to post Share on other sites
Rastavovich 0 Posted January 14, 2003 You can use the "init" event handler. That will open it on startup. Depending on the lenght of the animation you can see maybe the hood opening, but it is the only way to get it working, except you want to use another model. Share this post Link to post Share on other sites
Guest BratZ Posted January 14, 2003 Or you can just leave the hood open within the model,it will start open and the peeps will need to close it first Share this post Link to post Share on other sites
ciecato 0 Posted January 14, 2003 hmmm thanks Rastavovich, it is what i need... i'm not interested if at starting you see the hood opening... it isn't a problem... but i don't know nothing about script do you have an exaple on how to use this "init" eventhandler? Thanks Share this post Link to post Share on other sites
Rastavovich 0 Posted January 14, 2003 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class EventHandlers { Â Â Â init = "_this select 0 animate [""Closehoodanimationname"", 1]"; }; <span id='postcolor'> must be in the vehicle config of the car. Share this post Link to post Share on other sites
ciecato 0 Posted January 15, 2003 thanks, thanks, thanks 1000 times thanks Share this post Link to post Share on other sites