DayZ
1.30
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
◆
CanReleaseAttachment()
override
bool
Boat_01_ColorBase::CanReleaseAttachment
(
EntityAI
attachment
)
inline
private
См. определение в файле
Boat_01.c
строка
33
34
{
35
if
(!super.CanReleaseAttachment(attachment))
36
return
false
;
37
38
string
attType = attachment.GetType();
39
40
if
(
EngineIsOn
() && attType ==
"SparkPlug"
)
41
return
false
;
42
43
return
true
;
44
}
EngineIsOn
proto native bool EngineIsOn()
Returns true when engine is running, false otherwise.
Перекрестные ссылки
EngineIsOn()
.
Boat_01_ColorBase
Создано системой
1.13.2