CRaPI - Correct Robust and Perfect API

BasicActions.KickToPoint Method (Player, Point2D, Int32)

public static Command KickToPoint(
   Player pPlayer,
   Point2D pPoint,
   int pPower
);

Parameters

pPlayer
The player
pPoint
The position to kick to
pPower
The power to kick with. Should not exceed MaxPower and MinPower.

Return Value

The action command for the kick

Remarks

This method does not send any command to the server, it is therefore up to the agent to execute the command on the server.

See Also

BasicActions Class | TeamYaffa.CRaPI Namespace | BasicActions.KickToPoint Overload List | KickToObject