Squirrel/Scripting Requests

From Liberty Unleashed Wiki
Revision as of 01:46, 3 August 2011 by Jack9267 (Talk | contribs)

Jump to: navigation, search

Use this page to request functions, events or other features for LU/VU scripting.

Server-side requests

  • Player.ColouredName to be able to retrieve the names with the [#XXXXXX][#d] colours.
  • A Signal that will trigger when your vehicle or player move (onPlayerMove & onVehicleMove) with old xyz and new xyz
    • Added events onPlayerUpdate and onVehicleUpdate instead, these will be called every time an on foot, in car or unoccupied vehicle sync packet is received. (Update 0.1.0.9 onwards) Juppi 17:11, 17 March 2011 (UTC)
  • A signal that will trigger when any server side script uses the Message function. Would be very useful for unpack-and-go echo scripts or any kind like that. (Something like onMessage( szMessage ) )
    • This event could cause a potential infinite loop. It is more recommended to use a custom wrapper function which calls Message and your event handler for Message (Message can only be called from within squirrel scripts anyway). Having an event for Message could also justify having events for other message functions such as MessagePlayer or game texts. -- Juppi 22:13, 9 June 2011 (UTC)

Client-side requests

  • *.Velocity to be able to set the velocity using clientside scripts jack9267
  • Player.Spawn to be able to forcibly spawn the player using clientside scripts
  • Player.MouseFrozen to be able to Freeze the mouse (Useful for GUIs and Buttons, Since it moves your view now too)
Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox