Location variable not working (for me) #160


  • New
  • Defect
Open
Assigned to _ForgeUser8773666
  • Forge_User_02033506 created this issue Jan 1, 2015

    Hello.

    First of all, I love your plugin, it's all I have ever asked for, but at first it's a little bit strange, so I need you help.
    So, the thing is that our server has multiple words - just like all other server these days - and we would like to make an area enter trigger, that would teleport the player to a certain location to another world. I tried to make a Location variable - test - so I typed in: /vtrigger setloc test x,y,z
    Then I made a Click trigger: /vtc @TP $loc.test
    When I clicked it did nothing, so I checked the log, and it sais: "Script Warning: @TP - argument [LOCATION] must be in the format x,y,z Ignoring line and continuing."
    So I tried the following: /vtrigger setloc test <playerloc>
    Still nothing.
    So my question is: Did I messed up the format, or something else in the code, or just something went wrong in the plugin/server and if I'll make it work will it actually work the way I desired, or I shall do something completely different, can you suggest anything else ? Another way to do that or something ?

    Thanks, Dether.

  • Forge_User_02033506 added the tags New Defect Jan 1, 2015
  • Lyoko_Firelyte posted a comment Jan 4, 2015

    V2 syntax is /vtc add <script> and setting vars should be /vt setloc obj var. So for example /vt setloc some var would save your current coords to $some.var


To post a comment, please login or register a new account.