40 — Resize Player View...
Replaces the playable area with the rectangle given and announces that new terrain is available.
Editor data
- Numeric ID
40- Engine ID
TACTION_RESIZE_PLAYER_VIEW- Editor name
- Resize Player View...
- Need token
NEED_RECT- Parameters
- Rectangle
rectangle
- Rectangle
- Attachment
- none
INI example
[Actions]
<TriggerID>=1,40,0,0,<Rectangle X>,<Rectangle Y>,<Rectangle width>,<Rectangle height>,The radar map is redrawn to show the new area.
Valid values
- Four numbers in cells, giving the origin and then the width and height of the new playable area.
Caveats
- The rectangle is trimmed to fit the playfield the same way as [
LocalSize](/keys/localsize/), so the area can end up smaller than written. - When the new area takes in a vehicle, infantryman or aircraft, that object looks around at once, so widening the area reveals the ground around it straight away. In a campaign or standalone mission, only a player-controlled house's objects do this. A structure does not get this immediate look.
- A vehicle, infantryman or structure that the new area leaves outside stops revealing ground. A vehicle or infantryman starts again when it reaches the center of a cell inside the area, as [Who looks, and when](/systems/map-visibility/#who-looks-and-when) describes.
- The new terrain announcement plays every time the action runs, whether or not the area changed.