Skip to content
Snippets Groups Projects
Commit 40ee9def authored by Reeves, David E's avatar Reeves, David E
Browse files

* bool help options

parent 7b14e8ff
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -81,6 +81,11 @@ namespace CodeCompleteTool
case "UNITY_NAME":
case "CM_NAME":
return "\"" + selStr + "\"";
case "INVULNERABLE_BOOL":
case "INVISIBLE_BOOL":
case "PERMIT_BOOL":
case "APPEND_ENTITY_NAME_BOOL":
case "CLOCKWISE_BOOL":
default:
return selStr;
}
......
......@@ -4,5 +4,5 @@ import mtry.cxxi.model.HierarchicalTaskNetwork.HTNUtilities as HTNUtilities
# %RADIUS radius of the circle in meters double
# %DEGREE_STEP generate a point ever DEGREE_STEP degrees. must go into 360 evenly. double
# %ELEVATION height of the points. absolute elevation double
# %CLOCKWISE if True points are generated clockwise, counter clockwise otherwise False
HTNUtilities._py_getOrbitOrderFromRoute(%LOCATION, %RADIUS, %DEGREE_STEP, %ELEVATION, %CLOCKWISE)
# %CLOCKWISE_BOOL if True points are generated clockwise, counter clockwise otherwise False
HTNUtilities._py_getOrbitLocations(%LOCATION, %RADIUS, %DEGREE_STEP, %ELEVATION, %CLOCKWISE_BOOL)
print_message|Print a message to std out. This method also print the message to the loggers
# %CONTENT content of the message string
# %APPEND_ENTITY_NAME append the entity printing the message to the message boolean
printMessage(%CONTENT, %APPEND_ENTITY_NAME) # desc string, append name True/False
# %APPEND_ENTITY_NAME_BOOL append the entity printing the message to the message boolean
printMessage(%CONTENT, %APPEND_ENTITY_NAME_BOOL) # desc string, append name True/False
set_invisible|Make an entity invisible to Observe
import mtry.cxxi.model.HierarchicalTaskNetwork.HTNUtilities as HTNUtilities
# %ENTITY_NAME name of the entity to make invisible string
# %INVISIBLE boolean True to make the entity invisible, false otherwise
HTNUtilities._py_setInvisible(%ENTITY_NAME, %INVISIBLE) # name of the entity string, invisible or not bool
# %INVISIBLE_BOOL boolean True to make the entity invisible, false otherwise
HTNUtilities._py_setInvisible(%ENTITY_NAME, %INVISIBLE_BOOL) # name of the entity string, invisible or not bool
set_invulnerable|Set an entity immune to damage
import mtry.cxxi.model.HierarchicalTaskNetwork.HTNUtilities as HTNUtilities
# %ENTITY_NAME name of the entity to make invulnerable string
# %INVULNERABLE boolean True to make the entity immune to damage, False otherwise
HTNUtilities._py_setInvulnerable(%ENTITY_NAME, %INVULNERABLE) # entity name string, invulnerable bool
# %INVULNERABLE_BOOL boolean True to make the entity immune to damage, False otherwise
HTNUtilities._py_setInvulnerable(%ENTITY_NAME, %INVULNERABLE_BOOL) # entity name string, invulnerable bool
......@@ -235,6 +235,14 @@ namespace ScintillaPythonControl
{
switch (selTxt)
{
case "CLOCKWISE_BOOL":
case "APPEND_ENTITY_NAME_BOOL":
case "INVISIBLE_BOOL":
case "INVULNERABLE_BOOL":
case "PERMIT_BOOL":
keywords = new string[] { "True", "False" };
keywordsHelp = new string[] { "Boolean True", "Boolean False" };
break;
case "ENTITY_NAME":
keywords = ScenarioXML.GetNamesByType(ScenarioInfoType.ENTITY);
keywordsHelp = ScenarioXML.GetDescriptionByType(ScenarioInfoType.ENTITY);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment