> For the complete documentation index, see [llms.txt](https://xeavin.gitbook.io/the-insurgents-handbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xeavin.gitbook.io/the-insurgents-handbook/scripts/vm-call-targets/motion-play-bb.md).

# Motion Play BB

### Signature

```c
void motionplay_bb(int flags, int timeFrame); //id:0x00bb
```

### Description

Does the same as the [Motion Play](/the-insurgents-handbook/scripts/vm-call-targets/motion-play.md) function, but with this one, the time frame can also be set.

### Arguments

#### Time Frame

The higher the time frame, the slower the motion will play up until the motion's return point. After that, the motion will play at default speed.

For example, if in a motion a character sits down, waits a bit and then stands up again, the return point would at the frame just before they get up. So the slowdown effect only works in the early parts of the motion. If the value is too high, the motion return point may never be reached in which case the motion will just return too early.

`1` frame equals `33` ms. If `0` is passed, it equals calling the [Motion Play](/the-insurgents-handbook/scripts/vm-call-targets/motion-play.md) function.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://xeavin.gitbook.io/the-insurgents-handbook/scripts/vm-call-targets/motion-play-bb.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
