170 {
171 super.OnSuccess(new_item);
172
174 {
179 }
180
181
183 if (item_in_hands_source)
184 {
185 string new_item_name = MiscGameplayFunctions.ObtainRestrainItemTargetClassname(item_in_hands_source);
189 else
190 Error(
"ChainedDropAndRestrainLambda: missing source player!");
191 }
192 else
193 {
194 Error(
"ChainedDropAndRestrainLambda: missing source item in hands!");
195 }
196 }
void RestrainTargetPlayerLambda(EntityAI old_item, string new_item_type, PlayerBase player)
class GP5GasMask extends MaskBase ItemBase
ExplosivesBase m_PairedExplosive
PlayerBase m_SourcePlayer
void Error(string err)
Messagebox with error message.