ScriptBind_ActionMapManager

EnableActionFilter

Enables a filter for the actions.

ActionMapManager.EnableActionFilter( name, enable )
ParameterDescription
nameFilter name.
enableTrue to enable the filter, false otherwise.

EnableActionMap

Enables an action map.

ActionMapManager.EnableActionMap( name, enable )
ParameterDescription
nameAction map name.
enableTrue to enable the filter, false otherwise.

EnableActionMapManager

Enables/Disables ActionMapManager.

ActionMapManager.EnableActionMapManager( enable, resetStateOnDisable )
ParameterDescription
enableEnables/Disables ActionMapManager.
resetStateOnDisableResets the different Action states when ActionMapManager gets disabled.

LoadFromXML

Loads information from an XML file.

ActionMapManager.LoadFromXML( name )
ParameterDescription
nameXML file name.

InitActionMaps

Initializes the action maps and filters found in given file

ActionMapManager.InitActionMaps( path )
ParameterDescription
pathXML file path.

SetDefaultActionEntity

Sets the new default entity.

ActionMapManager.SetDefaultActionEntity( id, updateAll )
ParameterDescription
idEntityId of the new default action entity.
updateAllUpdates all existing action map assignments.

GetDefaultActionEntity

Gets the currently set default action entity.

ActionMapManager.GetDefaultActionEntity()

LoadControllerLayoutFile

Loads the given controller layout into the action manager.

ActionMapManager.LoadControllerLayoutFile( layoutName )
ParameterDescription
layoutNamelayout name.

IsFilterEnabled

Checks if a filter is currently enabled.

ActionMapManager.IsFilterEnabled( filterName )
ParameterDescription
filterNamefilter name.