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

◆ OnFinishProgressServer()

override void OnFinishProgressServer ( ActionData action_data)

claymore has integrated detonator

refresh IK, item changed

См. определение в файле ActionDisarmExplosiveWithRemoteDetonatorUnpaired.c строка 91

92 {
93 ExplosivesBase target = ExplosivesBase.Cast(action_data.m_Target.GetObject());
94 ItemBase detonator = ItemBase.Cast(action_data.m_MainItem);
95
96 target.Disarm();
97 target.SetTakeable(true);
98
100 if (target.IsInherited(ClaymoreMine))
101 {
102 detonator.Delete();
103 return;
104 }
105
106 ReplaceItemWithNewLambdaBase lambda = new ReplaceDetonatorItemLambda(detonator, "RemoteDetonator");
107 MiscGameplayFunctions.TurnItemIntoItemEx(action_data.m_Player, lambda);
109 action_data.m_Player.GetItemAccessor().OnItemInHandsChanged();
110 }
void ExplosivesBase()
Определения ExplosivesBase.c:42
Определения ClaymoreMine.c:2
base class for transformation operations (creating one item from another)
Определения ReplaceItemWithNewLambdaBase.c:5

Перекрестные ссылки ActionData и ExplosivesBase().