Skip to content

Commit

Permalink
Merge pull request citizenfx#192 from PichotM/animlink
Browse files Browse the repository at this point in the history
global: update to an updated doc db
  • Loading branch information
stannum-cfx authored Nov 25, 2019
2 parents 8456e3c + 8767d94 commit 910c2d1
Show file tree
Hide file tree
Showing 25 changed files with 39 additions and 47 deletions.
4 changes: 1 addition & 3 deletions BRAIN/PlayAnimOnRunningScenario.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ ns: BRAIN
void PLAY_ANIM_ON_RUNNING_SCENARIO(Ped ped, char* animDict, char* animName);
```
```
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **ped**:
Expand Down
4 changes: 1 addition & 3 deletions BRAIN/StopAnimTask.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ ns: BRAIN
void STOP_ANIM_TASK(Ped ped, char* animDictionary, char* animationName, float p3);
```
```
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **ped**:
Expand Down
3 changes: 2 additions & 1 deletion BRAIN/TaskPlayAnim.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ ns: BRAIN
void TASK_PLAY_ANIM(Ped ped, char* animDictionary, char* animationName, float blendInSpeed, float blendOutSpeed, int duration, int flag, float playbackRate, BOOL lockX, BOOL lockY, BOOL lockZ);
```
[Animations list](https://alexguirre.github.io/animations-list/)
```
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
float blendInSpeed > normal speed is 8.0f
----------------------
float blendOutSpeed > normal speed is 8.0f
Expand Down
3 changes: 2 additions & 1 deletion BRAIN/TaskPlayAnimAdvanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ void TASK_PLAY_ANIM_ADVANCED(Ped ped, char* animDict, char* animName, float posX
```
It's similar to the one above, except the first 6 floats let you specify the initial position and rotation of the task. (Ped gets teleported to the position). animTime is a float from 0.0 -> 1.0, lets you start an animation from given point. The rest as in AI::TASK_PLAY_ANIM.
Rotation information : rotX and rotY don't seem to have any effect, only rotZ works.
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **ped**:
* **animDict**:
Expand Down
3 changes: 2 additions & 1 deletion BRAIN/TaskVehiclePlayAnim.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ Here's how its used -
AI::TASK_VEHICLE_PLAY_ANIM(l_325, "rcmnigel1b", "idle_speedo");
AI::TASK_VEHICLE_PLAY_ANIM(l_556[0/*1*/], "missfra0_chop_drhome", "InCar_GetOutofBack_Speedo");
FYI : Speedo is the name of van in which chop was put in the mission.
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **vehicle**:
* **animation_set**:
Expand Down
4 changes: 1 addition & 3 deletions CAM/IsCamPlayingAnim.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ ns: CAM
BOOL IS_CAM_PLAYING_ANIM(Cam cam, char* animName, char* animDictionary);
```
```
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **cam**:
Expand Down
3 changes: 2 additions & 1 deletion CAM/PlayCamAnim.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ BOOL PLAY_CAM_ANIM(Cam cam, char* animName, char* animDictionary, float x, float
Atleast one time in a script for the zRot Rockstar uses GET_ENTITY_HEADING to help fill the parameter.
p9 is unknown at this time.
p10 throughout all the X360 Scripts is always 2.
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **cam**:
* **animName**:
Expand Down
3 changes: 2 additions & 1 deletion CAM/PlaySynchronizedCamAnim.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ BOOL PLAY_SYNCHRONIZED_CAM_ANIM(Any p0, Any p1, char* animName, char* animDictio
Examples:
CAM::PLAY_SYNCHRONIZED_CAM_ANIM(l_2734, NETWORK::_02C40BF885C567B6(l_2739), "PLAYER_EXIT_L_CAM", "mp_doorbell");
CAM::PLAY_SYNCHRONIZED_CAM_ANIM(l_F0D[7/*1*/], l_F4D[15/*1*/], "ah3b_attackheli_cam2", "missheistfbi3b_helicrash");
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **p0**:
* **p1**:
Expand Down
3 changes: 2 additions & 1 deletion ENTITY/FindAnimEventPhase.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ In the script "player_scene_t_bbfight.c4":
"if (v_A < ENTITY::GET_ENTITY_ANIM_CURRENT_TIME(...))"
Both v_A and v_B are seemingly used to contain both Vector3's and floats, so I can't say what either really is other than that they are both output parameters. p4 looks more like a *Vector3 though
-alphazolam
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **animDictionary**:
* **animName**:
Expand Down
4 changes: 1 addition & 3 deletions ENTITY/GetAnimDuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ aliases: ["_GET_ANIM_DURATION"]
float GET_ANIM_DURATION(char* animDict, char* animName);
```
```
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **animDict**:
Expand Down
3 changes: 2 additions & 1 deletion ENTITY/GetEntityAnimCurrentTime.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ Example:
0.000000 - mark the starting of animation.
0.500000 - mark the midpoint of the animation.
1.000000 - mark the end of animation.
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **entity**:
* **animDict**:
Expand Down
3 changes: 2 additions & 1 deletion ENTITY/GetEntityAnimTotalTime.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ Returns a float value representing animation's total playtime in milliseconds.
Example:
GET_ENTITY_ANIM_TOTAL_TIME(PLAYER_ID(),"amb@world_human_yoga@female@base","base_b")
return 20800.000000
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **entity**:
* **animDict**:
Expand Down
3 changes: 2 additions & 1 deletion ENTITY/HasEntityAnimFinished.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ BOOL HAS_ENTITY_ANIM_FINISHED(Entity entity, char* animDict, char* animName, int
```
P3 is always 3 as far as i cant tell
Animations List : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **entity**:
* **animDict**:
Expand Down
3 changes: 2 additions & 1 deletion ENTITY/IsEntityPlayingAnim.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ BOOL IS_ENTITY_PLAYING_ANIM(Entity entity, char* animDict, char* animName, int t
See also PED::IS_SCRIPTED_SCENARIO_PED_USING_CONDITIONAL_ANIM 0x6EC47A344923E1ED 0x3C30B447
Taken from ENTITY::IS_ENTITY_PLAYING_ANIM(PLAYER::PLAYER_PED_ID(), "creatures@shark@move", "attack_player", 3)
p4 is always 3 in the scripts.
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
taskFlag:
2 - Check synchronized scene
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **entity**:
* **animDict**:
Expand Down
3 changes: 2 additions & 1 deletion ENTITY/PlayEntityAnim.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ BOOL PLAY_ENTITY_ANIM(Entity entity, char* animName, char* animDict, float p3, B
```
delta and bitset are guessed fields. They are based on the fact that most of the calls have 0 or nil field types passed in.
The only time bitset has a value is 0x4000 and the only time delta has a value is during stealth with usually <1.0f values.
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **entity**:
* **animName**:
Expand Down
3 changes: 2 additions & 1 deletion ENTITY/PlaySynchronizedEntityAnim.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ BOOL PLAY_SYNCHRONIZED_ENTITY_ANIM(Entity entity, int syncedScene, char* animati
```
p4 and p7 are usually 1000.0f.
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **entity**:
* **syncedScene**:
Expand Down
4 changes: 1 addition & 3 deletions ENTITY/PlaySynchronizedMapEntityAnim.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ ns: ENTITY
BOOL PLAY_SYNCHRONIZED_MAP_ENTITY_ANIM(float p0, float p1, float p2, float p3, Any p4, Any p5, Any* p6, Any* p7, float p8, float p9, Any p10, float p11);
```
```
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **p0**:
Expand Down
4 changes: 1 addition & 3 deletions ENTITY/SetEntityAnimCurrentTime.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ ns: ENTITY
void SET_ENTITY_ANIM_CURRENT_TIME(Entity entity, char* animDictionary, char* animName, float time);
```
```
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **entity**:
Expand Down
4 changes: 1 addition & 3 deletions ENTITY/SetEntityAnimSpeed.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ ns: ENTITY
void SET_ENTITY_ANIM_SPEED(Entity entity, char* animDictionary, char* animName, float speedMultiplier);
```
```
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **entity**:
Expand Down
3 changes: 2 additions & 1 deletion ENTITY/StopEntityAnim.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ Any STOP_ENTITY_ANIM(Entity entity, char* animation, char* animGroup, float p3);
```
```
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
RAGEPluginHook list: docs.ragepluginhook.net/html/62951c37-a440-478c-b389-c471230ddfc5.htm
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **entity**:
* **animation**:
Expand Down
4 changes: 1 addition & 3 deletions PED/GetAnimInitialOffsetPosition.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ ns: PED
Vector3 GET_ANIM_INITIAL_OFFSET_POSITION(char* animDict, char* animName, float x, float y, float z, float xRot, float yRot, float zRot, float p8, int p9);
```
```
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **animDict**:
Expand Down
4 changes: 1 addition & 3 deletions PED/GetAnimInitialOffsetRotation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ ns: PED
Vector3 GET_ANIM_INITIAL_OFFSET_ROTATION(char* animDict, char* animName, float x, float y, float z, float xRot, float yRot, float zRot, float p8, int p9);
```
```
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **animDict**:
Expand Down
4 changes: 1 addition & 3 deletions PED/IsScriptedScenarioPedUsingConditionalAnim.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ ns: PED
BOOL IS_SCRIPTED_SCENARIO_PED_USING_CONDITIONAL_ANIM(Ped ped, char* animDict, char* anim);
```
```
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **ped**:
Expand Down
3 changes: 2 additions & 1 deletion PED/SetPedAlternateMovementAnim.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ stance:
1 = walk
2 = running
p5 = usually set to true
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **ped**:
* **stance**:
Expand Down
4 changes: 1 addition & 3 deletions PED/SetPedAlternateWalkAnim.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ ns: PED
void SET_PED_ALTERNATE_WALK_ANIM(Ped ped, char* animDict, char* animName, float p3, BOOL p4);
```
```
Animations list : www.los-santos-multiplayer.com/dev.airdancer?cxt=anim
```
[Animations list](https://alexguirre.github.io/animations-list/)
## Parameters
* **ped**:
Expand Down

0 comments on commit 910c2d1

Please sign in to comment.