CommandTeleport (10810) - Allow com.string as map filename#3208
CommandTeleport (10810) - Allow com.string as map filename#3208jetrotal wants to merge 2 commits intoEasyRPG:masterfrom
Conversation
You can teleport to a custom-named map, by filling `com.string`. It Even considers custom folder structure.
|
This is a bit more complex than just this command:
They must be all updated to support this (+ save data). Look for https://github.com/search?q=repo%3AEasyRPG%2FPlayer%20ReserveTeleport&type=code Carbonara: Using 0 here would make sense since the data cannot properly be stored as a value, what would be needed here is a "store map ID in a string variable" command Ghabry: And there is also an event to relocate vehicles which takes a map_id >.> btw Events also have a map ID but I cannot remember what the purpose of this was. |
I put the filename logic inside of ConstructMapName, since multiple functions related to teleport went through it... |
|
ok, about stringVars: It's good to support it for feature completion. Converting ID entries to 0 if com.string exists seems fair too. |
You can teleport to a custom-named map, by filling
com.string:It Even considers custom folder structure.
It still lacks some changes to support:
I have to learn how to implement those.