# 3.4 Garages

Garages in ARL allow players to store their owned vehicles and later retrieve them.
They are prefab-driven and work out of the box with the included Garage NPC prefabs.


# Prefabs

Garage prefabs can be found in: ArmaReforgerLife/Prefabs/Garage/


# Recommended workflow

  1. Inherit a prefab from Prefabs/Garage/ into your addon.
  2. Place the inherited garage prefab in your world/subscene.
  3. Add a VehicleSpawner as a child:
    ArmaReforgerLife/Prefabs/MP/Spawning/ARL_VehicleSpawner.et
  4. Save and test.

ARL_MapMarkerComponent is already added when inheriting from the standard prefab.


# Behavior

  • Players can store nearby owned vehicles at the garage NPC.
  • Stored vehicles are linked to the player and can later be retrieved at the same garage.
  • Vehicles spawn at the VehicleSpawner child of the garage prefab.
  • Occupants are automatically ejected when a vehicle is stored.

# Troubleshooting

  • Vehicle not found → Ensure the garage prefab is placed with enough space around it.
  • Vehicle not spawning → Check if a VehicleSpawner child is added.
  • UI not opening → Make sure you are using the inherited prefab which includes the user actions.