Is there a way to reassign agents to a different co开发者_C百科ntainer or will I have to create a new container and then create all new instances of the agents within the new container?
I have done a lot of searching and can't seem to find anything on container reassignment.
Thanks in advance for any info!
Hey I think the code you need is
myAgent.doMove( dest );
with dest being the location name of the new container as registered with the main container.
精彩评论