VGLoc Questions

thatoneguy1138

Active Member
I am trying to build a jump target script. Basically i want to jump to my defensive, or offensive target that is within my chunk. I know i can type

Map:AddPoI[Target, ${Me.Target.X},${Me.Target.Y},${Me.Chunk.X},${Me.Chunk.Y}]

This will add a POI to my isxvglocations.xml file. Now i can type

VGLoc[Target]:port

This will port me to the target. The problem then arises in updating the POI inside isxvglocations.xml so the next time i want to jump target i don't jump to the same target over and over. VGLoc Add <label> [notes] and VGLoc Delete <label> only work with Type=Locations, they will not delete or create POIs. I don't really care if my loc is a POI or a Location, but I can't seem to add a Location via VGLoc Add with specifying the x, y. I also cannot find a way to delete or modify a POI. Since the POI is added to isxvglocations it will not show up when you access it via Map.PoI[Name] so i cannot modify the X, and Y members directly.

I have also built interface to edit the xml file on the fly directly however since VGLoc is pulling from some LavishSettings (i assume) that is in memory it does not have the updated loc when i do this.

My problem can probably be solved many different ways. Are there any devs that can help me with this, I just need to know what method allows me to update a POI that is stored in isxvglocations.xml. Please PM me if this isn't clear or if you need more info.
 

Amadeus

The Maestro
Staff member
Stop thinking about POIs and you can't port to them.

You can only port to VGLocs ..and there is no way to create a VGLoc except to either be at that location and use ISXVG:AddLoc[Label] ..or else edit the xml file manually and then unload and reload isxvg so that it updates. (of course, you have to do the editing while the extension is unloaded.)

This is by design. I did not want isxvg to be used in the fashion that you're invisioning. :port was created as a means of allowing you some measure of convenience in TRAVELING ...it was not designed to be used in any other way except traveling.
 

thatoneguy1138

Active Member
I have some easier work arounds besides manually editing the xml file, i was just hoping you had a built in method for it. As for you only intending :port to be used for Traveling, this is exactly what i want to do. If i get seperated from my party in an area that you cannot summon in, i want to be able to jump to a group member by targeting them and typing jump in the console.
 

Amadeus

The Maestro
Staff member
By traveling I meant the act of moving from a known point to another known point in the world. In other words, you would say "I'm traveling from New York to Chicago"; however, you'd say "I'm going to meet my friends at the bar." People would look at your rather funny if you said "yea, I'm traveling to my friends at the bar."
 
Top Bottom