Fluffy 10 Posted October 18, 2010 (edited) Hi,everyone,i have a few questions.I'm trying to make a mission where,i have to lower the ramp of a chinhook ch-2,the question is,how do i lower it with the a.i being the pilot I tried using the Command: Heli1 action ["Lower Ramp",heli1].but it did not work please any help will be appreciated. The addon is here if you are interested. http://www.armaholic.com/page.php?id=6232 Edit:figured out 2nd question myself still need help for first one. Regards, Fluffy. Edited October 20, 2010 by Fluffy Additional info Share this post Link to post Share on other sites
Fluffy 10 Posted October 22, 2010 anyone? i need this urgently. Share this post Link to post Share on other sites
HeliJunkie 11 Posted October 22, 2010 Fluffy said: anyone? i need this urgently. AI1 => Chopper "AI1 animate[""Ani_Ramp"",1]"; "AI1 animate[""Ani_Ramp"",0]"; One is open and one is closed. It was allready answered in the thread you linked above. Here: => http://forums.bistudio.com/showpost.php?p=1592246&postcount=195 So next time read the threads or ask Marjory. She knows everything! Regards, HeliJunie Share this post Link to post Share on other sites
Fluffy 10 Posted October 22, 2010 Thank you very much. Share this post Link to post Share on other sites
Fluffy 10 Posted October 22, 2010 It does not work,i get this error called Type string,expected nothing. please advise. Share this post Link to post Share on other sites
HeliJunkie 11 Posted October 22, 2010 Try to post your code here => Pastebin.com , and leave a link in your post. But I think you copied the code into a script file(?). So change this: Quote "AI1 animate[""Ani_Ramp"",1]"; "AI1 animate[""Ani_Ramp"",0]"; to this: Quote AI1 animate["Ani_Ramp",1]; AI1 animate["Ani_Ramp",0]; (you see the changes with the quotes?The original code was for 'inline' use (like eventhandler values in config.cpp files). Give it a try Share this post Link to post Share on other sites
Fluffy 10 Posted October 22, 2010 I'm not using script's,im just placing the codes on the ONact box. Edit:Nevermind,i made such a stupid mistake you would laugh lol,thanks for all your help Helijunkie XD! Share this post Link to post Share on other sites
HeliJunkie 11 Posted October 22, 2010 Would be nice to post your mistake. Nice to know "a possible reason" for the error: Quote called Type string,expected nothingAnd maybe we want to laugh witch you ?!?! ;-) Share this post Link to post Share on other sites
Fluffy 10 Posted October 22, 2010 I....placed it in the conditions box... haha but that was for the 2nd code, for the first one it was still the same error even on the onact box. Share this post Link to post Share on other sites