Script:mapmarker: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
(Created page with "{{ScriptCommandPage |description=add a {{Red|✗}} marker to the map |special= -r textkey |flags= r?Remove the marker instead of adding it |parameters= x number* X-position on the map y number* Y-position on the map level int* Map level to add the marker to textkey text Localization key for the label to show when hovering over the marker |intro=The can only be one map marker for each localization key - trying to add a second one only chang...")
 
mNo edit summary
Line 8: Line 8:
x number* X-position on the map
x number* X-position on the map
y number* Y-position on the map
y number* Y-position on the map
level int* [[World of Arx Fatalis#Levels|Map level]] to add the marker to
maplevel int* [[World of Arx Fatalis#Levels|Map level]] to add the marker to
textkey text Localization key for the label to show when hovering over the marker
textkey text Localization key for the label to show when hovering over the marker
|intro=The can only be one map marker for each localization key - trying to add a second one only changes the position of the existing marker.
|intro=The can only be one map marker for each localization key - trying to add a second one only changes the position of the existing marker.

Revision as of 07:32, 26 June 2022

The mapmarker script command is used to add a marker to the map. The can only be one map marker for each localization key - trying to add a second one only changes the position of the existing marker.

Usage

mapmarker <x*> <y*> <maplevel*> <textkey>
mapmarker -r <textkey>

Context: Ignored

Flags:

 -r: Remove the marker instead of adding it

Parameters:

ParameterTypeDescription
x number or variable X-position on the map
y number or variable Y-position on the map
maplevel int or variable Map level to add the marker to
textkey text Localization key for the label to show when hovering over the marker

The following map markers are used in the game:

mapmarker 100 100 1 [goblinlord_warning]
mapmarker 169 110 1 [addmarker_human_throne_room]
mapmarker 183 194 7 [addmarker_treasure_gob]
mapmarker 195 390 1 [description_miguel]
mapmarker 196 127 4 [addmarker_pathway_snake]
mapmarker 20 385 1 [description_gary]
mapmarker 237 62 1 [addmarker_falan_room]
mapmarker 276 390 3 [addmarker_human_access]
mapmarker 312 174 6 [addmarker_temple_illusions]
mapmarker 333 260 4 [description_alia]
mapmarker 348 22 1 [addmarker_human_access]
mapmarker 365 305 1 [description_tafiok]
mapmarker 404 390 1 [description_maria]
mapmarker 469 320 6 [addmarker_elder_shield]
mapmarker 500 50 1 [addmarker_secret_temple]