74 {
75 if (super.SetupAction(player, target, item, action_data, extra_data))
76 {
80 if (!
GetGame().IsDedicatedServer())
81 {
82 player.GetHologramLocal().SetUpdatePosition(false);
83
84 Hologram hologram = player.GetHologramLocal();
85 if (hologram)
86 {
87 poActionData.
m_Position = player.GetHologramLocal().GetProjectionPosition();
88 poActionData.
m_Orientation = player.GetHologramLocal().GetProjectionOrientation();
89
90 poActionData.m_Player.SetLocalProjectionPosition(poActionData.
m_Position);
91 poActionData.m_Player.SetLocalProjectionOrientation(poActionData.
m_Orientation);
92 }
93 else
94 {
95 return false;
96 }
97 }
98
99 if (!action_data.m_MainItem)
100 return false;
101
103 return true;
104 }
105 return false;
106 }
void SetupAnimation(ItemBase item)
proto native CGame GetGame()