2024-11-12 14:18:28 -06:00

17 lines
579 B
Lua

--- This makes a vehicle respawn within ZONEVEHICLE1.
-- The vehicle is hidden, so you need to observe at the watch tower through external view.
-- Name: GRP-615 - Respawn in Zone hidden
-- Author: FlightControl
-- Date Created: 01 Mar 2018
-- Find the Vehicle and create a GROUP object.
Vehicle = GROUP:FindByName( "Vehicle" )
-- Setup RespawnZone1 linking to the trigger zone ZONEVEHICLE1.
RespawnZone1 = ZONE:New( "ZONEVEHICLE1")
-- Prepare the spawning to be done in RespawnZone1.
Vehicle:InitZone( RespawnZone1 )
-- Respawn the vehicle in RespawnZone1.
Vehicle:Respawn()