ped.addAnimation: Difference between revisions

Jump to navigation Jump to search
123 bytes removed ,  Yesterday at 16:33
no edit summary
(Created page with "{{ScriptItem2 |endpoint = client |type = method |class = Ped |name = addAnimation |parameters = Int groupId, Int animId |usage = makes the ped play an animation |return1 = void |returnFail1 = void |notes = More than one animation can be applied, which is why the function is called "add animation" instead of "play animation". This usually leads to undesired results as most animation were not designed to be played together. If you want to reset the current animation(s) to...")
 
No edit summary
Line 1: Line 1:
{{ScriptItem2
{{ScriptItem2
|endpoint = client
|side = client
|type = method
|type = method
|class = Ped
|class = Ped
Line 8: Line 8:
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
|notes = More than one animation can be applied, which is why the function is called "add animation" instead of "play animation". This usually leads to undesired results as most animation were not designed to be played together. If you want to reset the current animation(s) to play another, use [[ped.clearAnimations|ped.clearAnimations]] on GTA VC and SA, [[ped.clearObjective|ped.clearObjective]] on GTA III.<br>
|notes = More than one animation can be applied, which is why the function is called "add animation" instead of "play animation".  
Animation lists for [[https://wiki.gtaconnected.com/Resources/GTAIII/Animations|GTA 3]], [[https://wiki.gtaconnected.com/Resources/GTAVC/Animations|GTA Vice City]], [[https://wiki.gtaconnected.com/Resources/GTASA/Animations|GTA SA]], and [[https://wiki.gtaconnected.com/Resources/GTAIV/Animations|GTA IV]]
This usually leads to undesired results as most animation were not designed to be played together. If you want to reset the current animation(s) to play another, use [[ped.clearAnimations|ped.clearAnimations]] on GTA VC and SA, [[ped.clearObjective|ped.clearObjective]] on GTA III.<br>
Animation lists for [[Resources/GTAIII/Animations|GTA 3]], [[Resources/GTAVC/Animations|GTA Vice City]], [[Resources/GTASA/Animations|GTA SA]], and [[Resources/GTAIV/Animations|GTA IV]]
}}
}}
2,858

edits

Navigation menu