Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

ClientRequestObjectTarget

Sending an object target request to connected Client. This method using only for targettting objects, not tiles.

Result (Targettted object) can be obtained by ClientTargetResponse method.

Pascal

procedure ClientRequestObjectTarget;

Python

ClientRequestObjectTarget()

Example Pascal

procedure AttackObj;
begin
  ClientRequestObjectTarget;
  
  while not ClientTargetResponsePresent do
    Wait(100);
  
  Attack(ClientTargetResponse.Id);
end;