IsRunning
Returns True if the specified мобайл is currently running, False otherwise.
ObjID — ID of the мобайл to check.
Returns False if the object does not exist or the character is disconnected.
Возвращает True, если указанный мобайл в данный момент бежит, иначе False.
ObjID — ID мобайла для проверки.
Возвращает False, если объект не существует или персонаж не подключён.
function IsRunning(ObjID: Cardinal): Boolean;
def IsRunning(ObjID: int) -> bool: ...
begin
if IsRunning(LastTarget) then
AddToSystemJournal('Target is running')
else
AddToSystemJournal('Target is walking or standing still');
end.
if IsRunning(LastTarget()):
AddToSystemJournal('Target is running')
else:
AddToSystemJournal('Target is walking or standing still')