1in1class 0 Posted December 20, 2005 plz help me on this one? I dl the wilco's Static animations pack and cant get it to work. iv read the readme and no help on that, it says create a waypoint on an unit and type this switchmove "w_down1" . Where do i put this? iv used it in the Int line and script but it dont work plz help me on this im trying to make an good SP mission. Share this post Link to post Share on other sites
1in1class 0 Posted December 20, 2005 plz come on. how do i use this animation pack? it says put unit on fild and use the waypoint and type, this switchmove "W_Rest1". Nothig happens plz help me people how do i get this to work Share this post Link to post Share on other sites
stainer 0 Posted December 20, 2005 Try using a trigger, just type unitname switchmove "w_rest1" into the 'on activation' line of the trigger. Remember to activate the trigger Share this post Link to post Share on other sites
nominesine 0 Posted December 20, 2005 You can use a waypoint as well as a trigger. It makes absolutely no difference. The problem is that you are using "this". You have to name the unit in the editor. If you name him myGuy, the syntax should read: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">myGuy switchMove "w_rest1" To get the same unit out of the fixed switchMove position you use: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">myGuy switchMove "NULL" Share this post Link to post Share on other sites
LoTekK 0 Posted December 20, 2005 Of course, you could use "this" if you entered the command into the unit's init field: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this switchMove "w_rest1" Also, barely half an hour had passed between your initial post, and your next post. Not everyone monitors the boards religiously, waiting at people's beck and call. Learn some patience; you'll need it. Share this post Link to post Share on other sites
1in1class 0 Posted December 20, 2005 Of course, you could use "this" if you entered the command into the unit's init field:<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this switchMove "w_rest1" Also, barely half an hour had passed between your initial post, and your next post. Not everyone monitors the boards religiously, waiting at people's beck and call. Learn some patience; you'll need it. this i have done and did not work Share this post Link to post Share on other sites
1in1class 0 Posted December 20, 2005 ok this just wont work I start up ofp go to mission editor put me on fild then an unit, I try to put this script in the Int line this switchmove "W_Rest2" nothing. I tryed to name my unit Ex. myunit and put myunit switchmove "W_Rest2" and noting. Iv tryed the trigger and nothing. Omg i just dont know why it is doing this. Do any of u have this Addon? Does it work for u? If u got this addon tell me step by step what u do to make it work plz. I know how to enter an script but this just wont work for me. Share this post Link to post Share on other sites
Jackal326 1182 Posted December 20, 2005 Did you correctly install the addon in your addons folder? If not, that might explain why the animations aren't working as the classnames wont be recognised by OFP. Share this post Link to post Share on other sites
1in1class 0 Posted December 20, 2005 Did you correctly install the addon in your addons folder? If not, that might explain why the animations aren't working as the classnames wont be recognised by OFP. yes. I installed the addones in my FFUR addon folder also i have tryed to just put it in my OFP addon folder noting errr man i would love to get this working. Share this post Link to post Share on other sites
nominesine 0 Posted December 20, 2005 Let's stick to the RES addon folder, shall we. No FFUR, no other addons, nothing. Now, make a foolproof test: 1) place a civilian man on desert island and make it your player 2) place a west-soldier directly in front of the player 3) name the west-soldier myUnit and give him a waypoint where you set his behaviour to SAFE 4) place a trigger on the map. Make it a Radio Alpha [0-0-1] trigger. CONDITION: this ACTIVATION: myUnit switchMove "w_down1" 5) hit preview and look at the western soldier. Done? Then hit 0-0-1 to fire the trigger. Check if he performs a switchMove or not 6) if he doesn't perform the switchMove, change the behaviour of myUnit to AWARE (in the waypoint) 7) try again If none of these suggestions works there is something wrong with the addon. Throw it away, reinstall it or double check the name of the switchMove (i.e make sure there really is a move named w_down1) EDIT. and btw... you cannot use switchMove and similar commands in a units init line. The init only accepts commands that are executed instantly (like moveinDriver or addWeapon). playMoves and switchMoves needs to be triggered by remote (trigger, script, function or waypoint) Share this post Link to post Share on other sites
LoTekK 0 Posted December 20, 2005 EDIT. and btw... you cannot use switchMove and similar commands in a units init line Oops. For whatever reason, I thought I had used it in the init line before. Share this post Link to post Share on other sites
nominesine 0 Posted December 20, 2005 Oops. For whatever reason, I thought I had used it in the init line before. I'll forgive you for your mistake, as long as you release that camera addon   I'm really looking forward to that one. Share this post Link to post Share on other sites