DayZ
1.27
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
◆
SpawnLoot()
proto native void SpawnLoot
(
string
sEvName
,
vector
vPos
,
float
fAngle
,
int
iCount
=
1
,
float
fRange
=
1
)
private
Spawn an item through CE.
Заметки
DEVELOPER/DIAG ONLY
Аргументы
sEvName
string
The DE to spawn
vPos
vector
The position to spawn the
Entity
at
fAngle
float
Angle to spawn the
Entity
with in degrees [0, 360]
Заметки
When a negative value, will pick a random one
Аргументы
iCount
int
The amount of items
fRange
float
Circle radius
Заметки
When iCount is larger than 1, changing this will make it so that they are spawned in a circle around vPos
GetCEApi
().SpawnLoot(
"Deagle"
,
Vector
(5, 10, 5), 0, 9, 1);
GetCEApi
proto native CEApi GetCEApi()
Get the CE API.
Vector
proto native vector Vector(float x, float y, float z)
Vector constructor from components.
Ishodniki
scripts
3_Game
CE
CentralEconomy.c
Создано системой
1.13.2