Author Topic: Compound inequalities on Variable Conditional Events  (Read 571 times)

     I have need to utilize compound inequalities in VCE. I am building an RP and this is really needed.

If you saw this title and said: "Compound inequalities?", just don't post. You waste all of our time.

If you know how to use absolute value in VCE please inform me.

Exactly what do you need done?

couldn't you just use the true output to trigger another varaible check?

and for absolute value, you could check if below 0, then multiply by -1 if true

     Well, you can only have one variable check per brick. So I can't figure out how to get it in between numbers. I have tried using:

On"trigger">Self>VCEmodvariable>"Variable" isgreaterthan 2
On"trigger">self>VCEmodvariable>"Variable" islessthan 6

But it only responds to the first one. But that idea might just work.

Also, absolute value is positive, not negative.

Also, absolute value is positive, not negative.
yes... so don't multiply after what i said by -1
     Well, you can only have one variable check per brick. So I can't figure out how to get it in between numbers. I have tried using:

On"trigger">Self>VCEmodvariable>"Variable" isgreaterthan 2
On"trigger">self>VCEmodvariable>"Variable" islessthan 6

But it only responds to the first one. But that idea might just work.
right there, you are doing or, not and
or:
input>target>vce_ifvariable[name][checktype][check][target events (last line)]
input>target>vce_ifvariable[name][checktype][check][target events (last line)]
onvariabletrue>target>output
if either are true, then the last event will trigger
and:
input>target>vce_ifvariable[name][checktype][check][target events (next line)]
onvariabletrue>target>vce_ifvariable[name][checktype][check][target events (last line)]
onvariabletrue>target>output
if both are true, the last event will trigger

     Because i have a miniature laptop, I can't see that last line!

P.S: I want it to trigger when both are true.