Hello,
How do I pass constant params to a script from a trigger?
I have a static trigger that does not contain any variables. When it fires it calls a python script named EnemyStatus. ie:
<trigger match="^static text with no variation here\.$">
When calling EnemyStatus I want to pass static parameters to it. The parameters are not part of the triggered text. ie:
In the script EnemyStatus( sName, sLine, wildcards )
wildcards[0] is "EnemyName"
wildcards[1] is 200
etc.
How do I go about this?
- Renquist
How do I pass constant params to a script from a trigger?
I have a static trigger that does not contain any variables. When it fires it calls a python script named EnemyStatus. ie:
<trigger match="^static text with no variation here\.$">
When calling EnemyStatus I want to pass static parameters to it. The parameters are not part of the triggered text. ie:
In the script EnemyStatus( sName, sLine, wildcards )
wildcards[0] is "EnemyName"
wildcards[1] is 200
etc.
How do I go about this?
- Renquist