so I’m making a sort of gambling system in my game and I have a system to pick a real number, in this case, we will use 1-2 I want a system that checks for each value and applies an appropriate response to a value in between 1-1.75 will do something but a value of 1.76-2 will do something, but there’s nothing to test for a value in between so can someone help?
rule("Rule 1")
{
event
{
Ongoing - Global;
}
conditions
{
Global.A >= 1;
Global.A < 1.760;
}
actions
{
If(Global.A >= 1 && Global.A < 1.760);
}
}
The action is just there to show how you’d do it in case you want to use in in something like a Filtered Array or If case.
Otherwise the condition should be enough.
1 Like
yea i got it sorry~~~