|
Author
|
Topic: MH: How to use "inpSelectBombs" in OP-prop-code ??
|
Laika 801 Pilot
|
posted 07-17- 05:29 AM
I remember that you explained how to use "inpToggleEngineState" in proplists, but I can't find the topic. So I have two questions:1. Could we use all inp_Name-comands in proplists ??? 2. If so - how is the exact syntax (I tried some things, but it doesnt worked for me ) Thanks ! Would be very very helpfull to know if and how we could use this... LK801
IP: Logged |
Laika 801 Pilot
|
posted 07-18- 12:05 PM
3. could we use inp... in dof-macros ?Thanks ! IP: Logged |
Tailslide Pilot
|
posted 07-18- 12:47 PM
Laika.. take a look a plane with a canopy key for an example of this.IP: Logged |
Laika 801 Pilot
|
posted 07-19- 11:16 AM
Tail - I did that, but they use cmdCanopyToggle and not inpCanopyToggle  LK IP: Logged |
Tailslide Pilot
|
posted 07-19- 01:23 PM
Laika, just do the same thing and specify whatever key you want to activate your DOF. TS
IP: Logged |
Laika 801 Pilot
|
posted 07-19- 01:26 PM
Hmmm - that would not be AI compatible !? For now I do it the normal way...IP: Logged |
Laika 801 Pilot
|
posted 07-23- 02:26 PM
Moving this to top, so MH can reply ...LK IP: Logged |
Laika 801 Pilot
|
posted 07-24- 10:25 AM
MH seems you dont know the answers ?LK - trying to build the Pe-2, twin-engined-bomber-attacker for SDOE -
IP: Logged |
Michael Harrison General
|
posted 07-24- 03:07 PM
Just pass the inpxxx command to the vehicle and it should be process as though the user had pressed a key.Depending on exactly what you are trying to do, you may need to tie the prop to an obExec pair You'll have to look at the keyboard map for the syntax. If the command just has a key mapping, that means that it usually doesn't have a number parameter with it. for example, you could pass (inpWeaponsRelease) to the vehicle and it would behave as though you had pressed the appropriate key. If you see "bounce" in the command, that means that passing a 1 activates the command and a 0 deactivates it. (inpFireGuns 1) would start the guns firing and (inpFireGuns 0) would stop them IP: Logged |
Laika 801 Pilot
|
posted 07-24- 03:21 PM
Now this are great news ! Thanks for the reply !!! I'll try some things out, if it works like you said (for all commands etc) we could break down alot of "walls" in OPS  I really hope this works in Functions too... Thanks again ! LK801 IP: Logged |