Jump to content

Location Setting


Recommended Posts

Scripts now require a location to be specified that they can be run from.

Syntax is:[code]
(locations coords)[/code]

Where coords would be the user location, for example:
[code](locations 1_0x0_1)[/code]
This would limit the script to only being run fom the Gazebo of Equilibrium.

Please note that string quotes are not used for the coords, that is, no " or '.
Additional locations can be allowed to access a by seperating them with a comma, no spaces in between.
For example:
[code](locations 1_0x0_1,1_1x1_1,0_0x0_0)[/code]

A maximum of 12 locations are allowed to be given access to a single script.

The line can be placed anywhere in the script.

Currently, variables are not supported in the settings.
So this will not work:
@va = '1_0x0_1';
(locations @va)

Ghost scripts can still be accessed, but only from the locations given access.

Edited by Rendril
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Forum Statistics

    Total Topics
    Total Posts
  • Recently Browsing

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
  • Recent Event Reviews

  • Create New...