PointSpawnType

슀폰 ν¬μΈνŠΈκ°€ μž‘λ™ν•˜λŠ” 방식을 κ²°μ •ν•˜λŠ” νƒ€μž…μ΄μ—μš”.

Enums

이름

μ„€λͺ…

Point

μ§€μ •λœ Point μœ„μΉ˜μ— μŠ€ν°μ‹œμΌœμš”.

Area

μ§€μ •λœ λ²”μœ„μ— μŠ€ν°μ‹œμΌœμš”.

-- μƒ˜ν”Œ --

local spawner = Game:AddSpawnPointAtGroup("SpawnGroup", Workspace.SpawnPoint) --슀폰 κ·Έλ£Ήμ—μ„œ μ‚¬μš©ν•  슀폰포인트λ₯Ό λ“±λ‘ν•΄μš”.
local spawnRadius = 50 --캐릭터 슀폰 λ°˜κ²½μ„ μ„€μ •ν•΄μš”.
spawner:SetSpawnType(Enum.PointSpawnType.Area, spawnRadius) --νŒ€μ˜ μŠ€ν°νƒ€μž…μ„ μ„€μ •ν•΄μš”.

Last updated