Reply to thread

Hi


I've got a dialogue question in relation to dialogueactions and variable arithmatic.


Basically, I want to know if you can parse an arithmatic result to a variable.


The idea of the script is that a random value comes in, it's assessed against another variable and generates a result;




initial_settings:{"Var_Limit":0,"Var_Amount":0}


pulled_down:"???[Donate]"


Donate:"CHING![Donate2]"{"style":"Him","set":{"Var_Limit":100}}


Donate2:"[DonateScript]"{"set":{"Var_Amount":250}}

Donate2:"[DonateScript]"{"set":{"Var_Amount":50}}


DonateScript:"I'll pay you *Var_Amount* to take it in the ass![Her_Response]"{"style":"Him"}


Her_Response:"[Her_Response*Var_Amount>Var_Limit*]"


Her_Response0:"I'm not doing that!"

Her_Response1:"Let's do it!"



So it all works, except for the [Her_Response*Var_Amount>Var_Limit*] part. Is there ANY way of doing this? I've tried using "set" on a third variable as well as other things and just can't get the arithmatic to stick, it only seems to work if in the actual speech string.


Top


Are you 18 or older?

This website requires you to be 18 years of age or older. Please verify your age to view the content, or click Exit to leave.