Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update arguments on TaskJump #37

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions BRAIN/TaskJump.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,16 @@ ns: BRAIN

```c
// 0x0AE4086104E067B1 0x0356E3CE
void TASK_JUMP(Ped ped, BOOL unused);
void TASK_JUMP(Ped ped, BOOL unk, BOOL beastJump, BOOL unk2);
```

```
Definition is wrong. This has 4 parameters (Not sure when they were added. v350 has 2, v678 has 4).
v350: Ped ped, bool unused
v678: Ped ped, bool unused, bool flag1, bool flag2
flag1 = super jump, flag2 = do nothing if flag1 is false and doubles super jump height if flag1 is true.
```
## Description
Makes the specified jump. Optionally as beast jump, which is a much higher jump.
NOTE: Task can be triggered even if ped is not on the ground. As well as in vehicle, which can be catastrophic.

## Parameters
* **ped**:
* **unused**:
* **ped**: The ped to play the task on.
* **unk**: Unknown.
* **beastJump**: Whether to use the beast jump or not.
* **unk2**: Unknown too.