Liberty Unleashed
Scripting => Script Help => Topic started by: ZX_Lost_Soul on December 18, 2010, 10:22:36 pm
-
I making a crouch script and I need to make a condition - player stand up...
Tell me please, is it real to make one of that?
1. Set current player animation to variable?
2. Bind a function on left mouse button?
3. Make event on player shoot (NOT shoot at other player, at sky for example)
-
At the moment it's not possible to bind a function to any of the mouse buttons, it's possible to set the anim tho
-
it's possible to set the anim tho
Sorry, I don't understand. What is "tho"?
-
You can set the animation to something else using Player.SetAnim() (http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions/Players/SetAnim)
But the rest you asked is not (yet) possible.
-
You can set the animation to something else using Player.SetAnim() ([url]http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions/Players/SetAnim[/url])
But the rest you asked is not (yet) possible.
If I set a crouch animation and other after it - player play other amination being crouched.