Skip to content

Framework

Lean's edited this page Jul 23, 2024 · 4 revisions

Lua File

By default theres is no configurations files, you need to create one in the Lua Folder, still confused? check the examples

Lua Code

In this wiki you will understand how to use the mod to spawn your own airdrops and manipulate them

Adding a airdrop

You can simply add a airdrop using the function SpawnSpecificAirdrop(coordinates), this functions only add a airdrop if the player is loading the chunk

Example SpawnSpecificAirdrop

-- This function will spawn a airdrop in coordinates X100Y100Z0
local function myFunction
  local coordinates = { x = 100.0, y = 100, z = 0 };
  SpawnSpecificAirdrop(coordinates);
end

Force removing a airdrop

Spawned Airdrops by the SpawnSpecificAirdrop

You need only to call the ForceDespawnAirdrops() function to despawn all Airdrops Spawned by SpawnSpecificAirdrop

Call any airdrop

To call any airdrop you can easily call the function SpawnAirdrop() this will spawn a random airdrop in world manually

Clone this wiki locally