IsParalyzed
Returns True if the specified мобайл is paralyzed (frozen), False otherwise.
ObjID — ID of the мобайл to check.
Returns False if the object does not exist or the character is disconnected.
To check the player’s own paralysis state, use Paralyzed.
Возвращает True, если указанный мобайл парализован (заморожен), иначе False.
ObjID — ID мобайла для проверки.
Возвращает False, если объект не существует или персонаж не подключён.
Для проверки состояния паралича собственного персонажа используйте Paralyzed.
function IsParalyzed(ObjID: Cardinal): Boolean;
def IsParalyzed(ObjID: int) -> bool: ...
begin
if IsParalyzed(Self) then
AddToSystemJournal('Character is paralyzed!')
else
AddToSystemJournal('Character can move');
end.
if IsParalyzed(Self()):
AddToSystemJournal('Character is paralyzed!')
else:
AddToSystemJournal('Character can move')