![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
12-19-10, 04:36 PM
|
#11 |
|
Navy Seal
![]() |
Hi TDW
I am using the following in a tutorial file to check user TDC setting on multipule target AOB using the TDC dial:- Operation|mov|<<aob_delta>>|15.0f|0|0|0 ;blah blah (whole tutorial here) ; Functions: Label|SetTargetAOB|0|0|0|0|0 GetAngle|3|None|0|0|0|0 Operation|mov|<<aob_min>>|<g_TR1>|0|0|0 Operation|-|<<aob_min>>|<aob_delta>|1|0|0 Operation|int|<<aob_min>>|<aob_min>|0|0|0 Operation|mov|<<aob_max>>|<g_TR1>|0|0|0 Operation|+|<<aob_max>>|<aob_delta>|1|0|0 Operation|int|<<aob_max>>|<aob_max>|0|0|0 CheckGUIDialValueInRange|SOL_ANGONBOW|<aob_min>|<a ob_max>|None|0|0 Operation|rtrue|None|0|0|0|0 DisplayText|Your AOB is more than 15 Deg out!|0|0|0|0|5 Jump|WrongAOB|0|0|0|0|0 I have set the + - operations to 1 for dials 180 to -180. Some target check work fine and others dont. The ones that dont are out by 180 deg. ![]() Any ideas
|
|
|
| Tags |
| dbrn, favorite, new ui |
|
|
