I have been battling with a revised talk method, with only limited success. I can get something working after a fashion but it's horribly crude.
I have been through the documentation and the forum and I think I am getting some insights, perhaps you can check my assumptions. I have looked at the code section from ghost in the machine which has given me some inspiration
I have created a basic talk method which I have attached to an object, I then call the method from the object and pass various paramters through.
I had a lot of trouble understanding where the code for the method should be stored, in the end I just attached a file in the testbed scene directory which worked ok.
1. If I want to revise the talk method for an actor do I put that method in the actor script or in some other locations, I tried putting stuff in game.script but that didn't work.
2. If I want an npc to talk how do I associate a revised talk method with that character, assuming his representation is just a sprite object - would that be as some attachement in the sprite editor ?
3. Having read the documentation, there is a clear recommendation that a custom window should be used to hold the image, ok so I can create a custom window using the window editor tool, and can do stuff like set image. What I would like to do is to put an image on a static control programatically, can anyone provide me with a code snippet as an example of how this could be done.
Sorry for this post and the very naive nature of these questions.