# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/6-set-miniboard-markers
# Local doc: epic-docs/documentation/en-us/fortnite/6-set-miniboard-markers.md
# Section: Files
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { /UnrealEngine.com/Temporary/SpatialMath }
using { /Verse.org/Assets }
using { DataTypes }
using { UtilityFunctions }
board<public> := class(creative_device):
<# Variable Fields #>
@editable
Bounds<public>:board_bounds = board_bounds{}
@editable
TileSize<public>:vector2 = vector2{}
@editable
PawnStaticMesh:mesh = Meshes.SM_Pawn
@editable
NumberOfPawns:int = 5
var<private> Pawns:[]creative_prop = array{}
<# Function Fields - Utilities #>
GetDimensions<public>()<transacts>:vector3 =
vector3:
Left := 1.0 * (Bounds.LeftBounds.High - Bounds.LeftBounds.Low)
Forward := 1.0 * (Bounds.ForwardBounds.High - Bounds.ForwardBounds.Low)
<# Function Fields - Tiles #>
# tile_coordinate within board_bounds
IsTileCoordinateOnBoard<public>(TileCoordinate:tile_coordinate)<decides><transacts>:void =
Bounds.LeftBounds.Low <= TileCoordinate.Left <= Bounds.LeftBounds.High
Verse Library
verse
06 Files
Implements a board device class with coordinate validation and world vector conversion methods.
extracted-snippets/documentation/en-us/fortnite/6-set-miniboard-markers/06-files.verse
Sign in free to read the full source 🌴
This Verse Library file is members-only. Create a free account to view the complete source and download the .verse file.