Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
SetRotation
Syntax
C++
virtual int SetRotation(IFunctionHandler * pH, ScriptHandle userId, float value);
Parameters 
Description 
float value 
position, range <0,1> from left to right 
user 
entity id of sharpening player 

Syntax: Sharpening.SetRotation(float value) 

Weapon will slowly move to desired rotation, use SetOptimalRotation() to sharpen weapon correctly 

 

Copyright (c) 2012. All rights reserved.