3 static const string VARIABLE_PORT =
"VariableIn";
6 override bool VisibleInPalette() {
return true;}
9 protected override bool TestFunction(AIAgent owner)
12 Managed myManaged =
null;
13 string typeOfArray = GetVariableType(
true, VARIABLE_PORT).ToString();
15 if (!typeOfArray.Contains(
"array"))
17 if (!GetVariableIn(VARIABLE_PORT, myManaged))
20 GetGame().GetScriptModule().Call(myManaged,
"IsEmpty",
false, isEmpty);
26 protected static ref TStringArray s_aVarsIn = {
29 override TStringArray GetVariablesIn()