32 {
33 ref InventoryLocation il = new InventoryLocation;
34 if (!
GetGame().IsDedicatedServer())
35 {
37
38 if ( target.IsProxy() )
39 {
40 target_entity =
EntityAI.Cast( target.GetParent() );
41 }
42 else
43 {
44 target_entity =
EntityAI.Cast( target.GetObject() );
45 }
46
48 return false;
49 }
50
51 if ( super.SetupAction( player, target, item, action_data, extra_data))
52 {
53 if (!
GetGame().IsDedicatedServer())
54 {
55 AttachActionData action_data_a = AttachActionData.Cast(action_data);
57 }
58 return true;
59 }
60 return false;
61 }
FindInventoryLocationType
flags for searching locations in inventory
proto native CGame GetGame()