ActorApplyAnimation Method |
Applies the specified animation to this
Actor.
Namespace:
SampSharp.GameMode.World
Assembly:
SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax public void ApplyAnimation(
string library,
string name,
float fDelta,
bool loop,
bool lockx,
bool locky,
bool freeze,
int time
)
Parameters
- library
- Type: SystemString
The animation library from which to apply an animation. - name
- Type: SystemString
The name of the animation to apply, within the specified library. - fDelta
- Type: SystemSingle
The speed to play the animation. - loop
- Type: SystemBoolean
if set to true the animation will loop. - lockx
- Type: SystemBoolean
if set to true allow this Actor to move it's x-coordinate. - locky
- Type: SystemBoolean
if set to true allow this Actor to move it's y-coordinate. - freeze
- Type: SystemBoolean
if set to true freeze this Actor at the end of the animation. - time
- Type: SystemInt32
The amount of time (in milliseconds) to play the animation.
Exceptions See Also