Memory Efficiency for Rules On Actor - THANKS FOR HELP
Hey guys, in my game I have a set of actors that behave very differently under two conditions and i'm wondering what is most efficient:
scenario 1) I create one master rule: If condition 1 then all 10 rules inside that one master rule or:
scenario 2) In each of the 10 rules, I add a condition, if condition 1
Anyone know what is more optimal from a memory efficiency standpoint?
thanks
scenario 1) I create one master rule: If condition 1 then all 10 rules inside that one master rule or:
scenario 2) In each of the 10 rules, I add a condition, if condition 1
Anyone know what is more optimal from a memory efficiency standpoint?
thanks
Comments
therefore the rules for other events/actions should be nested in that rule (scenario 1)
the computer checks if condition 1 is true … then reads/fires the nested rules
if condition 1 is not true … computer ignores those nested rules
it is milliseconds, but still important with a large number of rules.
@};- MH