Captain Kirk
Member
I suspect this isn't possible right now, but I've been having some cool ideas that would require the
user to pass some variables into a consult script, and I was wondering if it would be possible.
so.
e.g.
[default]
1: consult myscript.ash (Knott Yeti, true,...)
The interface in the code would have to be expanded from:
void main (int theRound, monster theEncounter, string pageString)
to
void main (int theRound, monster theEncounter, string pageString, string optional_arg1, string optional_arg2, ...)
Do you think this would be possible to do, or is it already possible via some other method I don't know about?
user to pass some variables into a consult script, and I was wondering if it would be possible.
so.
e.g.
[default]
1: consult myscript.ash (Knott Yeti, true,...)
The interface in the code would have to be expanded from:
void main (int theRound, monster theEncounter, string pageString)
to
void main (int theRound, monster theEncounter, string pageString, string optional_arg1, string optional_arg2, ...)
Do you think this would be possible to do, or is it already possible via some other method I don't know about?