Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Altimor::ApplyYaw( %yaw )
- {
- postAction( 2048, IDACTION_YAW, %yaw );
- }
- function Altimor::LookRight()
- {
- Altimor::ApplyYaw( -0.21 );
- schedule( "Altimor::ApplyYaw( -0.21 );", 0.05 );
- }
- function Altimor::LookLeft()
- {
- Altimor::ApplyYaw( 0.21 );
- schedule( "Altimor::ApplyYaw( 0.21 );", 0.05 );
- }
- bindCommand( keyboard0, make, "q", TO, "Altimor::LookLeft();" );
- bindCommand( keyboard0, break, "q", TO, "Altimor::LookRight();" );
- bindCommand( keyboard0, make, "e", TO, "Altimor::LookRight();" );
- bindCommand( keyboard0, break, "e", TO, "Altimor::LookLeft();" );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement