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]
ort
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.
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]
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.