TABLE OF CONTENTS


GUI/GUI.Set_Goal_Command [ Commands ]

[ Top ] [ GUI ] [ Commands ]

FUNCTION

 Set selected goal as a current goal

SOURCE

   function Set_Goal_Command
     (Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
      Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with
      Convention => C;

PARAMETERS

 Client_Data - Custom data send to the command. Unused
 Interp      - Tcl interpreter in which command was executed.
 Argc        - Number of arguments passed to the command. Unused
 Argv        - Values of arguments passed to the command.

RESULT

 This function always return TCL_OK

COMMANDS

 SetGoal buttonpath
 Buttonpath is path to the button which is used to set the goal

GUI/GUI.Show_Goals_Command [ Commands ]

[ Top ] [ GUI ] [ Commands ]

FUNCTION

 Show goals UI to the player

SOURCE

   function Show_Goals_Command
     (Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
      Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with
      Convention => C;

PARAMETERS

 Client_Data - Custom data send to the command. Unused
 Interp      - Tcl interpreter in which command was executed.
 Argc        - Number of arguments passed to the command. Unused
 Argv        - Values of arguments passed to the command.

RESULT

 This function always return TCL_OK

COMMANDS

 ShowGoals buttonpath
 Buttonpath is path to the button which is used to set the goal