Hello everyone,
I need some help resolving an issue with the following code. Now what I want is to have my NPC (the librarian) randomly walk to various locations and then when he gets to the spot, he needs to perform an animation. I can get it working for the most part but the animation doesn't work when I use the eNoBlock parameter. In other words, the librarian just stands there. Here's the code in the room repeat function:
There are normally 9 locations but for testing purposes, I just have it as 0.
When I do debug and the engine gets to the Animate command it goes and loops around through the GlobalScript repeatable
and doesn't come back to the room repeatable.
If I do the eBlock parameter it works but I can't control Ego.
Thanks.
I need some help resolving an issue with the following code. Now what I want is to have my NPC (the librarian) randomly walk to various locations and then when he gets to the spot, he needs to perform an animation. I can get it working for the most part but the animation doesn't work when I use the eNoBlock parameter. In other words, the librarian just stands there. Here's the code in the room repeat function:
There are normally 9 locations but for testing purposes, I just have it as 0.
When I do debug and the engine gets to the Animate command it goes and loops around through the GlobalScript repeatable
and doesn't come back to the room repeatable.
If I do the eBlock parameter it works but I can't control Ego.
Thanks.