GameControls
controls the controls of the game
[ mobilize ] [ pause ] [ camera ] [ get_camera_pos ] [ offset ] [ origin ] [ tag ] [ at ] [ jump ] [ load_world ] [ lock ] [ player ] [ source ] [ add_tcl_source ] [ remove_tcl_source ] [ set_lead_player ] [ set_controlled_player ] [ join ] [ leave ] [ camera_pause ] [ camera_pause_command ] [ show_marker_list ] [ get_marker_list ] [ alpha ] [ add_task ] [ delta_time ] [ start_time ]
mobilize
Type: Bool
Default Value: 0
Description: lock or unlock the main player
pause
Type: Int
Default Value: 1
Description: pause or unpause the game
camera
Type: Bool
Default Value: 0
Description: if you're going to use the camera, specify this
get_camera_pos
Type: Bool
Default Value: 0
Description: get the camera position
offset
Type: String
Default Value: ""
Description: offset the camera
origin
Type: String
Default Value: ""
Description: origin of the camera
tag
Type: String
Default Value: ""
Description: tag the camera... I set this up to have multiple cameras, but I seem to only use one
at
Type: String
Default Value: "-1"
Description: a Marker to start the camera at
jump
Type: Bool
Default Value: 0
Description: jump the camera to the new position
load_world
Type: String
Default Value: ""
Description: load the specified world
lock
Type: Bool
Default Value: 0
Description: lock the loading to be fixed here
player
Type: Int
Default Value: 0
Description: specify a player for 'set_lead_player', 'set_controlled_player', 'join', 'leave' ...
source
Type: String
Default Value: ""
Description: source a tcl file
add_tcl_source
Type: String
Default Value: ""
Description: add a file to be sourced if you load a saved game
remove_tcl_source
Type: String
Default Value: ""
Description: remove a file from the list of those to be sourced if you load a saved game
set_lead_player
Type: Int
Default Value: 0
Description: use with 'player' to set the lead player
set_controlled_player
Type: Int
Default Value: 0
Description: use with 'player' to make 'player' a controlled player... controlled players are very special
join
Type: Bool
Default Value: 0
Description: join the main group
leave
Type: Bool
Default Value: 0
Description: leave the main group
camera_pause
Type: Int
Default Value: 0
Description: pause the camera (1000 = 1sec)
camera_pause_command
Type: String
Default Value: ""
Description: a command to do when the camera is done pausing
show_marker_list
Type: Int
Default Value: 0
Description: show the marker list window (or hide it)
get_marker_list
Type: Bool
Default Value: 0
Description: get a list of currently loaded markers
alpha
Type: Float
Default Value: 1.0
Description: set the alpha value of the talk window
add_task
Type: String
Default Value: ""
Description: add a task (procedure) to be called at start_time (or delta time)
delta_time
Type: Int
Default Value: 0
Description: start a task at a delta_time away
start_time
Type: Int
Default Value: 0
Description: start a task at a 'start_time"