Forum Overview
::
The King of Shreds and Patches
::
Randomness
[quote name="Fullofkittens"]One thing that jumps to mind regarding randomness is that text games sometimes include roving npcs (like the werewolf in Transylvania... did Necrotic Drift have a thing that wandered through a part of the mall?) You could handle that I guess by running a function inside a loop in the area where you might get the random encounter, and if the text you get matches Monster A, include the Monster A script, and if not then just proceed manually. I guess that could be used for all kinds of things, actually, not just random encounters. Hrm. Grabbing text from the application and comparing it is something I haven't played with much yet. P.S. I originally found out about Autohotkey from <a href="http://caltrops.com/pointy.php?action=viewPost&pid=82730">Ray</a>.[/quote]