I found that sometime the opened container will close.
how can i detect the container opened or not?
currently i use "use object(containerid)" to make sure the container opened.
But sometime it may fail because the use object delay time..
Forum in READ ONLY mode! All questions and discussions on Discord official server, invite link: https://discord.gg/VxsGzJ7
Question About Container
Re: Question About Container
checklag for empty contaitner, check FindType($FFFF,container_id)>0 for others.Ray wrote:I found that sometime the opened container will close.
how can i detect the container opened or not?
currently i use "use object(containerid)" to make sure the container opened.
But sometime it may fail because the use object delay time..
Re: Question About Container
Code: Select all
procedure CloseContainer;
begin
UseObject(Backpack);
end;
function IsContainerOpened(Container: cardinal):boolean;
begin
result:= LastContainer = Container;
end;
///
Re: Question About Container
Thanks all...