Jump to content
Sign in to follow this  
Scud

Landing gear problem

Recommended Posts

"class EventHandlers engine ="[_this select 0] exec ""\ etc"

as engine detects when engine has started I need to detect when the gear has been raised or lowered by player using the "gear up or down command.

I have tried "Gear" with no success.

Can some1 hlp on this plz.

Share this post


Link to post
Share on other sites

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

gear = "if (_this Select 1) then {[_this select 0] exec ""\myaddondir\geardown.sqs""} else {[_this select 0] exec ""\myaddondir\gearup.sqs""}";

Will let you use you own scripts for gear and still work within the useraction menu like oem (bis)

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

;sample gear script

_plane = _this select 0

_plane Animate ["corgear", 1]

a sample for something using custom gear

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

;sample gear script

_plane = _this select 0

_plane action ["Land Gear"]

a sample for something using bis gear

Share this post


Link to post
Share on other sites

thanx mate

I have tried the first code sample but must have typo in there somewhere.

will go back over it and see.

Share this post


Link to post
Share on other sites

Doh

just had a look - had the rear left as left rear etc.

Thanx again

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  

×