garbage_camp_marker= Unique ID for spawning with scriptsname= string or language key from lang_*.json filespot= marker icon file name relative to assets/ui/pda/ foldertype="camp" for safe levels, "quest" for combat levelsposition= [X, Y] position of the marker on the map (maximum [568, 832])level_id= name of the folder/file of the level in assets/levels/ that will load
Create new marker structure at the end of the file, use spot icon from assets/ui/pda/marker.png
Then to add this marker, open assets/scripts/p_game.gd and add this marker to the player PDA.
Using this function:
Also you can check if marker exist at the map and delete it:
Don't forget that you need show PDA (enable pda button in menu and on keys M or P on keyboard):
After adding marker with any method, by event key or completed quest, or changed level, check PDA.
New PDA marker
level_id is equal "garbage_camp" from assets/levels/