AIDef:Action/OpenMap

Revision as of 13:25, 24 October 2026 by Nebroc (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Opens the map at a specified position and zoom level, the Player cannot leave it, use CloseItemMenu for that.

Not all icons on the map are displayed, the UI at the top left of the screen doesn't disappear, the Player can still open the inventory with + and for some reason the Travel Medallion appears as a red pin if it's not on screen, otherwise neither is shown.

OpenMap
AI definition
Type Action

DynamicInstParams

Name Type Default value Description
WorldPos Vec3 3 float values separated by comas that the map centers around when opened
ScaleLevel Int 4 possible values:
  • 0: Full map (unzoomed)
  • 1: Zoomed in once
  • 2: Zoomed in twice
  • 3: Zoomed in 3 times

Other values (including negative) will zoom in a 4th time, but the map will be a blurry mess due to a lack of textures for that zoom level


Derived definitions

Demo_OpenMap (EventSystemActor)

No overridden parameters.