- This page was created by Coesbot. It still needs additional comments, examples, links, etc.
- Remove the {{bot}} template when you edit this page, please!
// Assign aActionToAssign to oActionSubject.
// * No return value, but if an error occurs, the log file will contain
// "AssignCommand failed."
// (If the object doesn't exist, nothing happens.)
void AssignCommand(object oActionSubject,action aActionToAssign);;
see also:
ActionDoCommand() ClearAllActions() ClearDelayCommands() DelayCommand()
GetCommandable() GetCurrentAction() SetCommandable()
void ActionDoCommand(action aActionToDo); void AssignCommand(object oActionSubject,action aActionToAssign); void ClearDelayCommands(object oObject); void DelayCommand(float fSeconds, action aActionToDelay); int GetCommandable(object oTarget=OBJECT_SELF); void SetCommandable(int bCommandable, object oTarget=OBJECT_SELF);