forked from citizenfx/natives
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add documentation to 0xA5EAFE473E45C442 (citizenfx#1092)
Added parameters, etc.
- Loading branch information
Showing
2 changed files
with
29 additions
and
25 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
ns: NETWORK | ||
aliases: ["0xA5EAFE473E45C442"] | ||
--- | ||
## NETWORK_ADD_PED_TO_SYNCHRONISED_SCENE_WITH_IK | ||
|
||
```c | ||
// 0xA5EAFE473E45C442 | ||
void NETWORK_ADD_PED_TO_SYNCHRONISED_SCENE_WITH_IK(cs_type(Any) Ped ped, int netSceneID, cs_type(Any) char* animDict, cs_type(Any) char* animClip, cs_type(Any) float blendIn, cs_type(Any) float blendOut, int sceneFlags, int ragdollFlags, cs_type(Any) float moverBlendInDelta, int ikFlags); | ||
``` | ||
Adds a ped to a networked synchronized scene but extends [`NETWORK_ADD_PED_TO_SYNCHRONISED_SCENE`](#_0x742A637471BCECD9) to support IK flags. | ||
There is barely any difference between this and [`NETWORK_ADD_PED_TO_SYNCHRONISED_SCENE`](#_0x742A637471BCECD9). | ||
``` | ||
NativeDB Introduced: v1290 | ||
``` | ||
## Parameters | ||
* **ped**: Index of the ped to add to the scene. | ||
* **netSceneID**: Network scene ID returned by [`NETWORK_CREATE_SYNCHRONISED_SCENE`](#_0x7CD6BC4C2BBDD526). | ||
* **animDict**: Which anim dictionary to use on this ped. | ||
* **animClip**: Which clip from the anim dictionary to use on this ped. | ||
* **blendIn**: Blend in speed of the animation. Default is `8.0`. | ||
* **blendOut**: Blend out speed of the animation. Default is `-8.0`. | ||
* **sceneFlags**: Synchronized scene flags. See [`NETWORK_ADD_PED_TO_SYNCHRONISED_SCENE`](#_0x742A637471BCECD9). | ||
* **ragdollFlags**: Ragdoll blocking flags. Default is 0. | ||
* **moverBlendInDelta**: Determines the rate at which the mover blends in to the scene. Useful for ensuring a seamless entry onto a synchronized scene. Default is `1000.0`. | ||
* **ikFlags**: Inverse kinematics flags. Default is `0`. |