Check by other property?
Posted: Sun May 08, 2005 11:24 pm
How can i tell an AI to run to a pathnode with a specific targetname and a specific other field. (like #set)
Is it possible?
Is it possible?
Code: Select all
$targetname/$AI Code: Select all
$targetname/$nodeCode: Select all
#field/specialCode: Select all
for (local.i = 1; local.i <= $node.size; local.i++)
{
if ($node[local.i].yourvalue == whatever)
break
}
$ai runto $node[local.i]