Reply To: Sort GOs by BB variable(Linq ?)

NodeCanvas Forums Support Sort GOs by BB variable(Linq ?) Reply To: Sort GOs by BB variable(Linq ?)

#10828
emmcd333@gmail.com
Participant

Sure thing. The scenario would be that a series of GOs are entered into a List based on some criteria, say a Tag. They would be the opposition. They would have a BB variable of ‘threatLevel’ which I would have conjured up. Yes, you could grab individual variables, but, what is being developed is an RTS AI based where there is primary input is not keyboard related and decision making is in larger data sets.

What I think would be a versatile addition, then, would be addition at least a secondary sort criteria sounding like ” OrderBy, then OrderBy”. Adapted from the Distance sort task, this would Linq sort by other GOs’ BB variables.