camSetBank – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
   ExecuteCommand(command, result, 4096-1);
   ExecuteCommand(command, result, 4096-1);
do not change anything.
do not change anything.
Afaik the command [[setVectorUp]] can be used to set the bank of the camera. --[[User:T D|T_D]] 15:22, 9 October 2008 (CEST)

Revision as of 15:22, 9 October 2008

Will this command finally work in ArmA?

the number seems wrong, shouldn't this be degrees 0..360 ?

ook?

Not sure, the given example was provided by BI.
Planck 14:17, 24 August 2007 (CEST)

On a C++ plugin the command

 float bank = 6.0;
 sprintf(command, "%s camSetBank %f", "MyCam", bank);
 ExecuteCommand(command, result, 4096-1);
 sprintf(command,"%s camCommit 0", "MyCam");
 ExecuteCommand(command, result, 4096-1);

do not change anything.


Afaik the command setVectorUp can be used to set the bank of the camera. --T_D 15:22, 9 October 2008 (CEST)