AIDef:Action/OpenMap: Difference between revisions
Jump to navigation
Jump to search
imported>Leoetlino import AI definitions from 1.5.0 |
No edit summary |
||
| Line 1: | Line 1: | ||
{{AIDef | Opens the map at a specified position and zoom level, the Player cannot leave it, use [[AIDef:Action/CloseItemMenu|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.{{AIDef | |||
|name=OpenMap | |name=OpenMap | ||
|type=Action | |type=Action | ||
| Line 8: | Line 10: | ||
! Name !! Type !! Default value !! Description | ! Name !! Type !! Default value !! Description | ||
|- | |- | ||
| WorldPos || Vec3 || || | | WorldPos || Vec3 || || 3 float values separated by comas that the map centers around when opened | ||
|- | |- | ||
| ScaleLevel || Int || || | | 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 | |||
|- | |- | ||
|} | |} | ||
Latest revision as of 13:25, 24 October 2026
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.
| 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:
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.