Squirrel/Scripting Issues
From Liberty Unleashed Wiki
(Difference between revisions)
(→Server-side scripting) |
m |
||
Line 4: | Line 4: | ||
* '''Player.Angle''' - Does not set/update player's facing angle | * '''Player.Angle''' - Does not set/update player's facing angle | ||
− | * '''Player.SetAnim''' - Animation seems to repeat it's self, won't stop? | + | * <s>'''Player.SetAnim''' - Animation seems to repeat it's self, won't stop?</s> - Not a bug, some anims are looping. Applying another animation stops the old one |
* '''Player.Seat''' - Always returns '0' (might be correct), will return the wrong seat ID if the player enters via a passenger a door and is set to driver. | * '''Player.Seat''' - Always returns '0' (might be correct), will return the wrong seat ID if the player enters via a passenger a door and is set to driver. | ||
* <s>'''Pickup.RespawnTime''' - It returns the value in milliseconds rather than seconds</s> | * <s>'''Pickup.RespawnTime''' - It returns the value in milliseconds rather than seconds</s> |
Revision as of 17:52, 25 October 2010
Use this page to report bugs or other problems in scripting.
Server-side scripting
- Player.Angle - Does not set/update player's facing angle
-
Player.SetAnim - Animation seems to repeat it's self, won't stop?- Not a bug, some anims are looping. Applying another animation stops the old one - Player.Seat - Always returns '0' (might be correct), will return the wrong seat ID if the player enters via a passenger a door and is set to driver.
-
Pickup.RespawnTime - It returns the value in milliseconds rather than seconds -
CallClientFunc - First argument (script) doesn't work, need to use null- Fixed, include the path as well (eg. "MyScript/main.nut")
Client-side scripting
-
CallServerFunc - First argument (script) doesn't work, need to use null- Fixed, include the path as well (eg. "MyScript/main.nut")