DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ CreateDecal()

proto native hDecal CreateDecal ( IEntity entity,
vector origin,
vector project,
float nearclip,
float angle,
float size,
string materialName,
float lifetime,
int flags )

Creates single visual mark, e.g. from shots when lifetime=0, pointer to decal is returned, that can be removed by RemoveDecal then

Аргументы
entityentity where the landmark should be created
originfirst point of the decal, nothing is done now
projectprojection direction (length is far clipping distance)
nearclipnear clipping distance
materialNameMaterial used for decal
lifetimeLifetime in seconds
flagsNot used ATM
Возвращает
Decal pointer or null