camSetBank – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 8: Line 8:


:[[User:Planck|Planck]] 14:17, 24 August 2007 (CEST)
:[[User:Planck|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.

Revision as of 14:13, 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.