ApplyAnimation question
#1

What does the opt1 argument changes?
What is the difference between LockX and LockY?

https://sampwiki.blast.hk/wiki/ApplyAnimation
Reply
#2

The X = X co-ordonate
The Y = Y co-ordonate

Reply
#3

It's explained on that page:
Quote:
opt2 This can be named LockX. This basically stores the player position when they perform an animation that requires them to move. When the animation is done, it puts them back to their original position before the animation started, if set to 0. Opposite effect if it's set to 1.
opt3 This can be named LockY. This basically stores the player position when they perform an animation that requires them to move. When the animation is done, it puts them back to their original position before the animation started, if set to 0. Opposite effect if it's set to 1.
Reply
#4

Yes, yes, but I don't get it. The change by LockX is moving camera with player, when in e.g. drunk animation, but in LockY camera is still on the beginning place. Sorry, I don't know how to explain .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)