I am learning NinjaScript.
I refer to calling method from within OnBarUpdate().
I came across this call from one of the Ninja Samples:
OnBarUpdate()
{
...
DetermineHL_BarRange(); // A ... OK, I get this ... call Method A
if ( ! StuffHits_BarRange() ) // B ...??? ... what in the world is this command doing?
return;
...
}
DetermineHL_BarRange() // Method A
{
...
}
StuffHits_BarRange() // Method B
{
...
}
For B, my understanding is ==> call Method B, UNTIL Method B does not work, then return.(I am just speculating)
Can anyone enlighten?
Thanks


Comment