Squirrel/Scripting Issues

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
m
m
Line 5: Line 5:
 
* '''Player.Angle''' - Does not set/update player's facing angle
 
* '''Player.Angle''' - Does not set/update player's facing angle
 
* <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
 
* <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.
+
* <s>'''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> - Old bug, fixed
 
* <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>
 
* <s>'''CallClientFunc''' - First argument (script) doesn't work, need to use ''null''</s> - Fixed, include the path as well (eg. "MyScript/main.nut")
 
* <s>'''CallClientFunc''' - First argument (script) doesn't work, need to use ''null''</s> - Fixed, include the path as well (eg. "MyScript/main.nut")

Revision as of 17:22, 17 March 2011

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. - Old bug, fixed
  • 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")
  • GUIWindow.AddChild - Crashes if used with a GUISprite - Fixed in 0.1.0.8
Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox