Here's the PM I sent to Rothgar. It explains more in detail about the problem I ran into.
Quote:
Hey Rothgar,
I know you're super busy most of the time. I just wanted to bring up a question about a command used for adding a POI to the map in-game.
/map2_add_poi
It's possible to use this to add a POI and save information via UI scripting. For example:
/map2_custom_poi_filename customdata.xml
/map2_add_poi TestCategory 0 0 0
This will make a section in the file with the name TestCategory. I found out if you wrap the first parameter in quotes "Test Category", and then you can successfully add a section with a space in the name and it will work great.
However, the problem is in the second command:
/map2_delete_poi
This command requires the specific POI name, followed by the Section name.
/map2_delete_poi MyPOIname TestCategory
The real problem I'm getting at is it's possible to add a POI with a space in the category name, or even the POI name, but it's impossible to delete it via command.
I was wondering if there was an easy way to change the delete command to support quotes in the POI name and/or category name.
The POI name itself can have spaces cause the window allows it that pops up. But this is also impossible to delete via slash command.
Thanks for your time and any possible response to this.
I did /bug it in game cause it seemed like a bug to me at least
|
I can try to wrap quotes around the delete command parameter(s), but I haven't gotten it to work no matter how I twist it. Weird that the add command supports the quotes, but the delete doesn't (in both parameters).