In my seize block, I have (alternative) resource sets selected and one resource pool in each list. Is there a way to set the delay time to be different depending on which resource pool the agent seizes a unit from?
I am not 100% sure that I understand your question, so apologies if this is not what you are asking.
To customise delay time dependant on some attribute of the agent you can create a function that takes agent as input and returns delaye time. Within the function you can calculate or define the delay time based on the set of conditions associated with the agent's attributes. You can call such a function in delay time box for a delay or a service block.
See the previous answers, there are multiple ways of doing this.
It is not clear from your question why would you use the timeout instead of the delay? Timeouts are used when the delay process is interrupted and not completed.
If you have problems with Java programming you can watch the video by Nate Osgood on Java in AnyLogic at https://www.youtube.com/watch?v=Sjq0StjJynI&list=PLcAxwev2PmV8mYPYaQ_QMT78EXo5EYEL1