I apologise if this is either a stupid question, or has been asked
before, but I was wondering if there was a way that I haven't found of
calling functions of one state from within a lua script of another? I
have several states all started with lua_newthread() all of which run
their own scripts. I have a very convoluted method at the moment for
each thread to "talk to each other" which is hideously slow and has
been
a nightmare to maintain as new situations arise, and was wondering
what
the "industry standard" way of doing it was (if there was one)?
TIA,
Tom
----------------------------------------------------------------------
------
DISCLAIMER
This email is sent by The Creative Assembly Limited company No.
03425917, registered in England &Wales registered office 27 Great
West Road, Middlesex, TW8 9BW, England. The contents of this e-mail
and any attachments are confidential to the intended recipient and
may also be legally privileged. Unless you are the named addressee
(or authorised to receive for the addressee) of this email you may
not copy, disclose or distribute it to anyone else. If you have
received this email in error, please notify us immediately by e-
mail on postmaster@creative-assembly.co.uk and then delete the
email and any copies. The Creative Assembly Limited have made all
reasonable efforts to ensure that this e-mail and any attached
documents or software are free from software viruses, but it is the
recipient's responsibility to confirm this.