18 {
19 super.CreateAndSetupActionCallback(action_data);
20
22 if (reservoir)
23 {
25 {
26 array<vector> data = reservoir.GetValveAligningPointsWS(reservoir.GetTurnableValveIndex(action_data.
m_Target.GetComponentIndex()));
28 vector direction = data[1] - data[0];
29
31 }
32 }
33 }
void Land_Underground_WaterReservoir()
ref ActionTarget m_Target
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto vector Normalized()
return normalized vector (keeps orginal vector untouched)