Jump to content
Sign in to follow this  
Fluffy

How to lower ramp of ch-2 and some other questions.

Recommended Posts

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 by Fluffy
Additional info

Share this post


Link to post
Share on other sites
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

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

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:

"AI1 animate[""Ani_Ramp"",1]";

"AI1 animate[""Ani_Ramp"",0]";

to this:
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

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

Would be nice to post your mistake.

Nice to know "a possible reason" for the error:

called Type string,expected nothing
And maybe we want to laugh witch you ?!?! ;-)

Share this post


Link to post
Share on other sites

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×