Basically, what I have is an AI where a player types something, eg '100' in a chat box, (for example to choose what type of attack they perform). This sends an AI Trigger signal depending on what they typed, and this in turn is recognised in the editor and a random number is generated using the 'random-number-generate' command. It all works fine until here, but when I try to get the AI to recognise which random number its generated it doesn't work. The identifier used in the article is 'random-number==...' but that doesn't work, and nor does 'random-number...' or 'random-number=...'. I've tried having it as an 'effect' in the same 'trigger' as the generator was in, and also having the generator 'trigger' set a goal, and have the random number identifier in that goal.
So, what I am asking is what do I type for the AI to see which number was generated, and how do I put it in the AI (in the same bit as the generator or in a seperate goal activated by the same bit as the generator). I would really appreciate some help, as I have spent a lot of time trying to make it work.
Thanks