here's a screenshot of my trigger.
how can I get that string as a number so I can add it to other numbers?
also.. the syntax for adding would be:
totalqp = questreward + othervar + 5
??
-Cera
capturing numbers into variables
Re: capturing numbers into variables
matches[n] is passed into Lua as string values and must be explicitly casted into numbers by the function tonumber().