Thanks for the answer. As a matter of fact, I will most probably have ambush scenarios. But I was thinking that whenever a unit goes into an ambush mode, it changes a bool value and gets added to an array for reference. Any unit from the opposing team makes a move command and the bool is checked, the data retrieved from the array and does the action accordingly. So in a manner I was having the ambush check triggered only when a certain command like movement has been issued, instead of calling it real time. And that actually put me into a lot of confusion as to what I should be using.