RigsofRods
Soft-body Physics Simulation
Data Structures | Enumerations | Functions | Variables
Script2Game Namespace Reference

Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation. More...

Data Structures

class  BeamClass
 Binding of RoR::Actor; a softbody-physics gameplay object, can be anything from soda can to space shuttle. More...
 
class  ConsoleClass
 Binding of RoR::Console; provides console variables (cvars), usually defined in RoR.cfg file. More...
 
class  CVarClass
 Binding of RoR::CVar; A console variable, usually defined in RoR.cfg but also created by users or scripts. More...
 
class  GameScriptClass
 Binding of RoR::GameScript; A general class that will provide you with general functions. More...
 
class  GenericDocContextClass
 Binding of RoR::GenericDocContext; Traverses document tokens; See 'demo_script.as' for an example. More...
 
class  GenericDocumentClass
 Binding of RoR::GenericDocument; Parses TRUCK/TOBJ/ODEF/CHARACTER file formats. More...
 
class  InputEngineClass
 Binding of RoR::InputEngine; Manages input devices, their configuration (input.map ...) and state. More...
 
class  LocalStorageClass
 Binding of RoR::LocalStorage; A class that allows your script to store data persistently. More...
 
class  ProceduralManagerClass
 Binding of RoR::ProceduralManager; generates dynamic roads for terrain. More...
 
class  ProceduralObjectClass
 Binding of RoR::ProceduralObject; a spline for generating dynamic roads. More...
 
class  ProceduralPointClass
 Binding of RoR::ProceduralPoint;. More...
 
class  ProceduralRoadClass
 Binding of RoR::ProceduralRoad; a dynamically generated road mesh. More...
 
class  SoundClass
 Binding of RoR::Sound; a single sound sample positioned in 3D space (spatial audio). More...
 
class  SoundScriptInstanceClass
 Binding of RoR::SoundScriptInstance; instance of SoundScriptTemplateClass. More...
 
class  SoundScriptTemplateClass
 Binding of RoR::SoundScriptTemplate; a customizable sound effect. More...
 
class  TerrainClass
 Binding of RoR::Terrain; represents a loaded terrain. More...
 
class  VehicleAIClass
 Binding of RoR::VehicleAI; Vehicle driving AI using waypoints. More...
 

Enumerations

enum  CVarFlags {
  CVAR_TYPE_BOOL = BITMASK(1), CVAR_TYPE_INT = BITMASK(2), CVAR_TYPE_FLOAT = BITMASK(3), CVAR_ARCHIVE = BITMASK(4),
  CVAR_NO_LOG = BITMASK(5)
}
 Types and special attributes of cvars. More...
 
enum  TokenType {
  TOKEN_TYPE_NONE, TOKEN_TYPE_LINEBREAK, TOKEN_TYPE_COMMENT, TOKEN_TYPE_STRING,
  TOKEN_TYPE_NUMBER, TOKEN_TYPE_BOOL, TOKEN_TYPE_KEYWORD
}
 
enum  GenericDocumentOptions {
  GENERIC_DOCUMENT_OPTION_ALLOW_NAKED_STRINGS, GENERIC_DOCUMENT_OPTION_ALLOW_SLASH_COMMENTS, GENERIC_DOCUMENT_OPTION_FIRST_LINE_IS_TITLE, GENERIC_DOCUMENT_OPTION_ALLOW_SEPARATOR_COLON,
  GENERIC_DOCUMENT_OPTION_PARENTHESES_CAPTURE_SPACES, GENERIC_DOCUMENT_OPTION_ALLOW_BRACED_KEYWORDS, GENERIC_DOCUMENT_OPTION_ALLOW_SEPARATOR_EQUALS, GENERIC_DOCUMENT_OPTION_ALLOW_HASH_COMMENTS
}
 
enum  scriptEvents { SE_ALL_EVENTS = 0xffffffff, SE_NO_EVENTS = 0 }
 Binding of RoR::scriptEvents; All the events that can be used by the script. More...
 
enum  angelScriptManipulationType { ASMANIP_CONSOLE_SNIPPET_EXECUTED = 0, ASMANIP_SCRIPT_LOADED, ASMANIP_SCRIPT_UNLOADING }
 Argument #2 of script event SE_ANGELSCRIPT_MANIPULATIONS More...
 
enum  angelScriptThreadStatus { ASTHREADSTATUS_NONE, ASTHREADSTATUS_CURLSTRING_PROGRESS, ASTHREADSTATUS_CURLSTRING_SUCCESS, ASTHREADSTATUS_CURLSTRING_FAILURE }
 
enum  modCacheActivityType {
  MODCACHEACTIVITY_NONE, MODCACHEACTIVITY_ENTRY_ADDED, MODCACHEACTIVITY_ENTRY_DELETED, MODCACHEACTIVITY_BUNDLE_LOADED,
  MODCACHEACTIVITY_BUNDLE_RELOADED, MODCACHEACTIVITY_BUNDLE_UNLOADED
}
 Argument #2 of script event RoR::SE_GENERIC_MODCACHE_ACTIVITY More...
 
enum  inputEvents {
  EV_AIRPLANE_AIRBRAKES_FULL =0, EV_AIRPLANE_AIRBRAKES_LESS, EV_AIRPLANE_AIRBRAKES_MORE, EV_AIRPLANE_AIRBRAKES_NONE,
  EV_AIRPLANE_BRAKE, EV_AIRPLANE_ELEVATOR_DOWN, EV_AIRPLANE_ELEVATOR_UP, EV_AIRPLANE_FLAPS_FULL,
  EV_AIRPLANE_FLAPS_LESS, EV_AIRPLANE_FLAPS_MORE, EV_AIRPLANE_FLAPS_NONE, EV_AIRPLANE_PARKING_BRAKE,
  EV_AIRPLANE_REVERSE, EV_AIRPLANE_RUDDER_LEFT, EV_AIRPLANE_RUDDER_RIGHT, EV_AIRPLANE_STEER_LEFT,
  EV_AIRPLANE_STEER_RIGHT, EV_AIRPLANE_THROTTLE, EV_AIRPLANE_THROTTLE_AXIS, EV_AIRPLANE_THROTTLE_DOWN,
  EV_AIRPLANE_THROTTLE_FULL, EV_AIRPLANE_THROTTLE_NO, EV_AIRPLANE_THROTTLE_UP, EV_AIRPLANE_TOGGLE_ENGINES,
  EV_BOAT_CENTER_RUDDER, EV_BOAT_REVERSE, EV_BOAT_STEER_LEFT, EV_BOAT_STEER_LEFT_AXIS,
  EV_BOAT_STEER_RIGHT, EV_BOAT_STEER_RIGHT_AXIS, EV_BOAT_THROTTLE_AXIS, EV_BOAT_THROTTLE_DOWN,
  EV_BOAT_THROTTLE_UP, EV_SKY_DECREASE_TIME, EV_SKY_DECREASE_TIME_FAST, EV_SKY_INCREASE_TIME,
  EV_SKY_INCREASE_TIME_FAST, EV_CAMERA_CHANGE, EV_CAMERA_DOWN, EV_CAMERA_FREE_MODE,
  EV_CAMERA_FREE_MODE_FIX, EV_CAMERA_LOOKBACK, EV_CAMERA_RESET, EV_CAMERA_ROTATE_DOWN,
  EV_CAMERA_ROTATE_LEFT, EV_CAMERA_ROTATE_RIGHT, EV_CAMERA_ROTATE_UP, EV_CAMERA_UP,
  EV_CAMERA_ZOOM_IN, EV_CAMERA_ZOOM_IN_FAST, EV_CAMERA_ZOOM_OUT, EV_CAMERA_ZOOM_OUT_FAST,
  EV_CHARACTER_BACKWARDS, EV_CHARACTER_FORWARD, EV_CHARACTER_JUMP, EV_CHARACTER_LEFT,
  EV_CHARACTER_RIGHT, EV_CHARACTER_ROT_DOWN, EV_CHARACTER_ROT_UP, EV_CHARACTER_RUN,
  EV_CHARACTER_SIDESTEP_LEFT, EV_CHARACTER_SIDESTEP_RIGHT, EV_COMMANDS_01, EV_COMMANDS_02,
  EV_COMMANDS_03, EV_COMMANDS_04, EV_COMMANDS_05, EV_COMMANDS_06,
  EV_COMMANDS_07, EV_COMMANDS_08, EV_COMMANDS_09, EV_COMMANDS_10,
  EV_COMMANDS_11, EV_COMMANDS_12, EV_COMMANDS_13, EV_COMMANDS_14,
  EV_COMMANDS_15, EV_COMMANDS_16, EV_COMMANDS_17, EV_COMMANDS_18,
  EV_COMMANDS_19, EV_COMMANDS_20, EV_COMMANDS_21, EV_COMMANDS_22,
  EV_COMMANDS_23, EV_COMMANDS_24, EV_COMMANDS_25, EV_COMMANDS_26,
  EV_COMMANDS_27, EV_COMMANDS_28, EV_COMMANDS_29, EV_COMMANDS_30,
  EV_COMMANDS_31, EV_COMMANDS_32, EV_COMMANDS_33, EV_COMMANDS_34,
  EV_COMMANDS_35, EV_COMMANDS_36, EV_COMMANDS_37, EV_COMMANDS_38,
  EV_COMMANDS_39, EV_COMMANDS_40, EV_COMMANDS_41, EV_COMMANDS_42,
  EV_COMMANDS_43, EV_COMMANDS_44, EV_COMMANDS_45, EV_COMMANDS_46,
  EV_COMMANDS_47, EV_COMMANDS_48, EV_COMMANDS_49, EV_COMMANDS_50,
  EV_COMMANDS_51, EV_COMMANDS_52, EV_COMMANDS_53, EV_COMMANDS_54,
  EV_COMMANDS_55, EV_COMMANDS_56, EV_COMMANDS_57, EV_COMMANDS_58,
  EV_COMMANDS_59, EV_COMMANDS_60, EV_COMMANDS_61, EV_COMMANDS_62,
  EV_COMMANDS_63, EV_COMMANDS_64, EV_COMMANDS_65, EV_COMMANDS_66,
  EV_COMMANDS_67, EV_COMMANDS_68, EV_COMMANDS_69, EV_COMMANDS_70,
  EV_COMMANDS_71, EV_COMMANDS_72, EV_COMMANDS_73, EV_COMMANDS_74,
  EV_COMMANDS_75, EV_COMMANDS_76, EV_COMMANDS_77, EV_COMMANDS_78,
  EV_COMMANDS_79, EV_COMMANDS_80, EV_COMMANDS_81, EV_COMMANDS_82,
  EV_COMMANDS_83, EV_COMMANDS_84, EV_COMMON_ACCELERATE_SIMULATION, EV_COMMON_DECELERATE_SIMULATION,
  EV_COMMON_RESET_SIMULATION_PACE, EV_COMMON_AUTOLOCK, EV_COMMON_CONSOLE_TOGGLE, EV_COMMON_ENTER_CHATMODE,
  EV_COMMON_ENTER_OR_EXIT_TRUCK, EV_COMMON_ENTER_NEXT_TRUCK, EV_COMMON_ENTER_PREVIOUS_TRUCK, EV_COMMON_REMOVE_CURRENT_TRUCK,
  EV_COMMON_RESPAWN_LAST_TRUCK, EV_COMMON_FOV_LESS, EV_COMMON_FOV_MORE, EV_COMMON_FOV_RESET,
  EV_COMMON_FULLSCREEN_TOGGLE, EV_COMMON_HIDE_GUI, EV_COMMON_TOGGLE_DASHBOARD, EV_COMMON_LOCK,
  EV_COMMON_NETCHATDISPLAY, EV_COMMON_NETCHATMODE, EV_COMMON_OUTPUT_POSITION, EV_COMMON_GET_NEW_VEHICLE,
  EV_COMMON_PRESSURE_LESS, EV_COMMON_PRESSURE_MORE, EV_COMMON_QUICKLOAD, EV_COMMON_QUICKSAVE,
  EV_COMMON_QUIT_GAME, EV_COMMON_REPAIR_TRUCK, EV_COMMON_REPLAY_BACKWARD, EV_COMMON_REPLAY_FAST_BACKWARD,
  EV_COMMON_REPLAY_FAST_FORWARD, EV_COMMON_REPLAY_FORWARD, EV_COMMON_RESCUE_TRUCK, EV_COMMON_RESET_TRUCK,
  EV_COMMON_TOGGLE_RESET_MODE, EV_COMMON_ROPELOCK, EV_COMMON_SAVE_TERRAIN, EV_COMMON_SCREENSHOT,
  EV_COMMON_SCREENSHOT_BIG, EV_COMMON_SECURE_LOAD, EV_COMMON_SEND_CHAT, EV_COMMON_TOGGLE_DEBUG_VIEW,
  EV_COMMON_CYCLE_DEBUG_VIEWS, EV_COMMON_TOGGLE_TERRAIN_EDITOR, EV_COMMON_TOGGLE_CUSTOM_PARTICLES, EV_COMMON_TOGGLE_MAT_DEBUG,
  EV_COMMON_TOGGLE_RENDER_MODE, EV_COMMON_TOGGLE_REPLAY_MODE, EV_COMMON_TOGGLE_PHYSICS, EV_COMMON_TOGGLE_STATS,
  EV_COMMON_TOGGLE_TRUCK_BEACONS, EV_COMMON_TOGGLE_TRUCK_LIGHTS, EV_COMMON_TRUCK_INFO, EV_COMMON_TRUCK_DESCRIPTION,
  EV_COMMON_TRUCK_REMOVE, EV_GRASS_LESS, EV_GRASS_MORE, EV_GRASS_MOST,
  EV_GRASS_NONE, EV_GRASS_SAVE, EV_MENU_DOWN, EV_MENU_LEFT,
  EV_MENU_RIGHT, EV_MENU_SELECT, EV_MENU_UP, EV_SURVEY_MAP_TOGGLE_ICONS,
  EV_SURVEY_MAP_CYCLE, EV_SURVEY_MAP_TOGGLE, EV_SURVEY_MAP_ZOOM_IN, EV_SURVEY_MAP_ZOOM_OUT,
  EV_TRUCK_ACCELERATE, EV_TRUCK_ACCELERATE_MODIFIER_25, EV_TRUCK_ACCELERATE_MODIFIER_50, EV_TRUCK_ANTILOCK_BRAKE,
  EV_TRUCK_AUTOSHIFT_DOWN, EV_TRUCK_AUTOSHIFT_UP, EV_TRUCK_BLINK_LEFT, EV_TRUCK_BLINK_RIGHT,
  EV_TRUCK_BLINK_WARN, EV_TRUCK_BRAKE, EV_TRUCK_BRAKE_MODIFIER_25, EV_TRUCK_BRAKE_MODIFIER_50,
  EV_TRUCK_CRUISE_CONTROL, EV_TRUCK_CRUISE_CONTROL_ACCL, EV_TRUCK_CRUISE_CONTROL_DECL, EV_TRUCK_CRUISE_CONTROL_READJUST,
  EV_TRUCK_HORN, EV_TRUCK_LEFT_MIRROR_LEFT, EV_TRUCK_LEFT_MIRROR_RIGHT, EV_TRUCK_LIGHTTOGGLE01,
  EV_TRUCK_LIGHTTOGGLE02, EV_TRUCK_LIGHTTOGGLE03, EV_TRUCK_LIGHTTOGGLE04, EV_TRUCK_LIGHTTOGGLE05,
  EV_TRUCK_LIGHTTOGGLE06, EV_TRUCK_LIGHTTOGGLE07, EV_TRUCK_LIGHTTOGGLE08, EV_TRUCK_LIGHTTOGGLE09,
  EV_TRUCK_LIGHTTOGGLE10, EV_TRUCK_MANUAL_CLUTCH, EV_TRUCK_PARKING_BRAKE, EV_TRUCK_TRAILER_PARKING_BRAKE,
  EV_TRUCK_RIGHT_MIRROR_LEFT, EV_TRUCK_RIGHT_MIRROR_RIGHT, EV_TRUCK_SHIFT_DOWN, EV_TRUCK_SHIFT_GEAR01,
  EV_TRUCK_SHIFT_GEAR02, EV_TRUCK_SHIFT_GEAR03, EV_TRUCK_SHIFT_GEAR04, EV_TRUCK_SHIFT_GEAR05,
  EV_TRUCK_SHIFT_GEAR06, EV_TRUCK_SHIFT_GEAR07, EV_TRUCK_SHIFT_GEAR08, EV_TRUCK_SHIFT_GEAR09,
  EV_TRUCK_SHIFT_GEAR10, EV_TRUCK_SHIFT_GEAR11, EV_TRUCK_SHIFT_GEAR12, EV_TRUCK_SHIFT_GEAR13,
  EV_TRUCK_SHIFT_GEAR14, EV_TRUCK_SHIFT_GEAR15, EV_TRUCK_SHIFT_GEAR16, EV_TRUCK_SHIFT_GEAR17,
  EV_TRUCK_SHIFT_GEAR18, EV_TRUCK_SHIFT_GEAR_REVERSE, EV_TRUCK_SHIFT_HIGHRANGE, EV_TRUCK_SHIFT_LOWRANGE,
  EV_TRUCK_SHIFT_MIDRANGE, EV_TRUCK_SHIFT_NEUTRAL, EV_TRUCK_SHIFT_UP, EV_TRUCK_STARTER,
  EV_TRUCK_STEER_LEFT, EV_TRUCK_STEER_RIGHT, EV_TRUCK_SWITCH_SHIFT_MODES, EV_TRUCK_TOGGLE_CONTACT,
  EV_TRUCK_TOGGLE_FORWARDCOMMANDS, EV_TRUCK_TOGGLE_IMPORTCOMMANDS, EV_TRUCK_TOGGLE_INTER_AXLE_DIFF, EV_TRUCK_TOGGLE_INTER_WHEEL_DIFF,
  EV_TRUCK_TOGGLE_PHYSICS, EV_TRUCK_TOGGLE_TCASE_4WD_MODE, EV_TRUCK_TOGGLE_TCASE_GEAR_RATIO, EV_TRUCK_TOGGLE_VIDEOCAMERA,
  EV_TRUCK_TRACTION_CONTROL, EV_COMMON_QUICKSAVE_01, EV_COMMON_QUICKSAVE_02, EV_COMMON_QUICKSAVE_03,
  EV_COMMON_QUICKSAVE_04, EV_COMMON_QUICKSAVE_05, EV_COMMON_QUICKSAVE_06, EV_COMMON_QUICKSAVE_07,
  EV_COMMON_QUICKSAVE_08, EV_COMMON_QUICKSAVE_09, EV_COMMON_QUICKSAVE_10, EV_COMMON_QUICKLOAD_01,
  EV_COMMON_QUICKLOAD_02, EV_COMMON_QUICKLOAD_03, EV_COMMON_QUICKLOAD_04, EV_COMMON_QUICKLOAD_05,
  EV_COMMON_QUICKLOAD_06, EV_COMMON_QUICKLOAD_07, EV_COMMON_QUICKLOAD_08, EV_COMMON_QUICKLOAD_09,
  EV_COMMON_QUICKLOAD_10, EV_TRUCKEDIT_RELOAD
}
 
enum  FlareType {
  FLARE_TYPE_NONE, FLARE_TYPE_HEADLIGHT, FLARE_TYPE_HIGH_BEAM, FLARE_TYPE_FOG_LIGHT,
  FLARE_TYPE_TAIL_LIGHT, FLARE_TYPE_BRAKE_LIGHT, FLARE_TYPE_REVERSE_LIGHT, FLARE_TYPE_SIDELIGHT,
  FLARE_TYPE_BLINKER_LEFT, FLARE_TYPE_BLINKER_RIGHT, FLARE_TYPE_USER, FLARE_TYPE_DASHBOARD
}
 Binding of RoR::FlareType. More...
 
enum  BlinkType { BLINK_NONE, BLINK_LEFT, BLINK_RIGHT, BLINK_WARN }
 Binding of RoR::BlinkType. More...
 
enum  ScriptCategory { SCRIPT_CATEGORY_INVALID, SCRIPT_CATEGORY_ACTOR, SCRIPT_CATEGORY_TERRAIN, SCRIPT_CATEGORY_CUSTOM }
 Binding of RoR::ScriptCategory ~ for game.pushMessage(MSG_APP_LOAD_SCRIPT_REQUESTED ...) More...
 
enum  MsgType {
  MSG_INVALID, MSG_APP_SHUTDOWN_REQUESTED, MSG_APP_SCREENSHOT_REQUESTED, MSG_APP_DISPLAY_FULLSCREEN_REQUESTED,
  MSG_APP_DISPLAY_WINDOWED_REQUESTED, MSG_APP_MODCACHE_LOAD_REQUESTED, MSG_APP_MODCACHE_UPDATE_REQUESTED, MSG_APP_MODCACHE_PURGE_REQUESTED,
  MSG_APP_LOAD_SCRIPT_REQUESTED, MSG_APP_UNLOAD_SCRIPT_REQUESTED, MSG_APP_REINIT_INPUT_REQUESTED, MSG_NET_CONNECT_REQUESTED,
  MSG_NET_CONNECT_STARTED, MSG_NET_CONNECT_PROGRESS, MSG_NET_CONNECT_SUCCESS, MSG_NET_CONNECT_FAILURE,
  MSG_NET_SERVER_KICK, MSG_NET_DISCONNECT_REQUESTED, MSG_NET_USER_DISCONNECT, MSG_NET_RECV_ERROR,
  MSG_NET_REFRESH_SERVERLIST_SUCCESS, MSG_NET_REFRESH_SERVERLIST_FAILURE, MSG_NET_REFRESH_REPOLIST_SUCCESS, MSG_NET_OPEN_RESOURCE_SUCCESS,
  MSG_NET_REFRESH_REPOLIST_FAILURE, MSG_NET_FETCH_AI_PRESETS_SUCCESS, MSG_NET_FETCH_AI_PRESETS_FAILURE, MSG_SIM_PAUSE_REQUESTED,
  MSG_SIM_UNPAUSE_REQUESTED, MSG_SIM_LOAD_TERRN_REQUESTED, MSG_SIM_LOAD_SAVEGAME_REQUESTED, MSG_SIM_UNLOAD_TERRN_REQUESTED,
  MSG_SIM_SPAWN_ACTOR_REQUESTED, MSG_SIM_MODIFY_ACTOR_REQUESTED, MSG_SIM_DELETE_ACTOR_REQUESTED, MSG_SIM_SEAT_PLAYER_REQUESTED,
  MSG_SIM_TELEPORT_PLAYER_REQUESTED, MSG_SIM_HIDE_NET_ACTOR_REQUESTED, MSG_SIM_UNHIDE_NET_ACTOR_REQUESTED, MSG_SIM_SCRIPT_EVENT_TRIGGERED,
  MSG_SIM_SCRIPT_CALLBACK_QUEUED, MSG_GUI_OPEN_MENU_REQUESTED, MSG_GUI_CLOSE_MENU_REQUESTED, MSG_GUI_OPEN_SELECTOR_REQUESTED,
  MSG_GUI_CLOSE_SELECTOR_REQUESTED, MSG_GUI_MP_CLIENTS_REFRESH, MSG_GUI_SHOW_MESSAGE_BOX_REQUESTED, MSG_GUI_DOWNLOAD_PROGRESS,
  MSG_GUI_DOWNLOAD_FINISHED, MSG_EDI_MODIFY_GROUNDMODEL_REQUESTED, MSG_EDI_ENTER_TERRN_EDITOR_REQUESTED, MSG_EDI_LEAVE_TERRN_EDITOR_REQUESTED,
  MSG_EDI_LOAD_BUNDLE_REQUESTED, MSG_EDI_RELOAD_BUNDLE_REQUESTED, MSG_EDI_UNLOAD_BUNDLE_REQUESTED, MSG_EDI_CREATE_PROJECT_REQUESTED
}
 Binding of RoR::MsgType; Global gameplay message loop. More...
 
enum  RoadType {
  ROAD_AUTOMATIC, ROAD_FLAT, ROAD_LEFT, ROAD_RIGHT,
  ROAD_BOTH, ROAD_BRIDGE, ROAD_MONORAIL
}
 
enum  TextureFit {
  TEXFIT_NONE, TEXFIT_BRICKWALL, TEXFIT_ROADS1, TEXFIT_ROADS2,
  TEXFIT_ROAD, TEXFIT_ROADS3, TEXFIT_ROADS4, TEXFIT_CONCRETEWALL,
  TEXFIT_CONCRETEWALLI, TEXFIT_CONCRETETOP, TEXFIT_CONCRETEUNDER
}
 
enum  SoundTriggers {
  SS_TRIG_NONE = -1, SS_TRIG_ENGINE = 0, SS_TRIG_AEROENGINE1, SS_TRIG_AEROENGINE2,
  SS_TRIG_AEROENGINE3, SS_TRIG_AEROENGINE4, SS_TRIG_HORN, SS_TRIG_BRAKE,
  SS_TRIG_PUMP, SS_TRIG_STARTER, SS_TRIG_TURBOBOV, SS_TRIG_TURBOWASTEGATE,
  SS_TRIG_TURBOBACKFIRE, SS_TRIG_ALWAYSON, SS_TRIG_REPAIR, SS_TRIG_AIR,
  SS_TRIG_GPWS_APDISCONNECT, SS_TRIG_GPWS_10, SS_TRIG_GPWS_20, SS_TRIG_GPWS_30,
  SS_TRIG_GPWS_40, SS_TRIG_GPWS_50, SS_TRIG_GPWS_100, SS_TRIG_GPWS_PULLUP,
  SS_TRIG_GPWS_MINIMUMS, SS_TRIG_AIR_PURGE, SS_TRIG_SHIFT, SS_TRIG_GEARSLIDE,
  SS_TRIG_CREAK, SS_TRIG_BREAK, SS_TRIG_SCREETCH, SS_TRIG_PARK,
  SS_TRIG_AFTERBURNER1, SS_TRIG_AFTERBURNER2, SS_TRIG_AFTERBURNER3, SS_TRIG_AFTERBURNER4,
  SS_TRIG_AFTERBURNER5, SS_TRIG_AFTERBURNER6, SS_TRIG_AFTERBURNER7, SS_TRIG_AFTERBURNER8,
  SS_TRIG_AEROENGINE5, SS_TRIG_AEROENGINE6, SS_TRIG_AEROENGINE7, SS_TRIG_AEROENGINE8,
  SS_TRIG_AOA, SS_TRIG_IGNITION, SS_TRIG_REVERSE_GEAR, SS_TRIG_TURN_SIGNAL,
  SS_TRIG_TURN_SIGNAL_TICK, SS_TRIG_TURN_SIGNAL_WARN_TICK, SS_TRIG_ALB_ACTIVE, SS_TRIG_TC_ACTIVE,
  SS_TRIG_AVICHAT01, SS_TRIG_AVICHAT02, SS_TRIG_AVICHAT03, SS_TRIG_AVICHAT04,
  SS_TRIG_AVICHAT05, SS_TRIG_AVICHAT06, SS_TRIG_AVICHAT07, SS_TRIG_AVICHAT08,
  SS_TRIG_AVICHAT09, SS_TRIG_AVICHAT10, SS_TRIG_AVICHAT11, SS_TRIG_AVICHAT12,
  SS_TRIG_AVICHAT13, SS_TRIG_LINKED_COMMAND, SS_TRIG_MAIN_MENU
}
 Binding of RoR::SoundTriggers More...
 
enum  ModulationSources {
  SS_MOD_NONE, SS_MOD_ENGINE, SS_MOD_TURBO, SS_MOD_AEROENGINE1,
  SS_MOD_AEROENGINE2, SS_MOD_AEROENGINE3, SS_MOD_AEROENGINE4, SS_MOD_WHEELSPEED,
  SS_MOD_INJECTOR, SS_MOD_TORQUE, SS_MOD_GEARBOX, SS_MOD_CREAK,
  SS_MOD_BREAK, SS_MOD_SCREETCH, SS_MOD_PUMP, SS_MOD_THROTTLE1,
  SS_MOD_THROTTLE2, SS_MOD_THROTTLE3, SS_MOD_THROTTLE4, SS_MOD_THROTTLE5,
  SS_MOD_THROTTLE6, SS_MOD_THROTTLE7, SS_MOD_THROTTLE8, SS_MOD_AEROENGINE5,
  SS_MOD_AEROENGINE6, SS_MOD_AEROENGINE7, SS_MOD_AEROENGINE8, SS_MOD_AIRSPEED,
  SS_MOD_AOA, SS_MOD_LINKED_COMMANDRATE, SS_MOD_MUSIC_VOLUME
}
 Binding of RoR::ModulationSources More...
 
enum  Ai_events { AI_HORN, AI_LIGHTSTOGGLE, AI_WAIT_SECONDS, AI_BEACONSTOGGLE }
 Enum with AI events. More...
 
enum  Ai_values { AI_SPEED, AI_POWER }
 Enum with AI values that can be set. More...
 

Functions

void log (const string message)
 This is an alias for game.log(string message). More...
 
void print (const string message)
 This is an alias for game.log(string message). More...
 

Variables

enum Script2Game::inputEvents KC_NUMPAD1
 
enum Script2Game::inputEvents KC_NUMPAD2
 
enum Script2Game::inputEvents KC_NUMPAD3
 
enum Script2Game::inputEvents KC_NUMPAD4
 
enum Script2Game::inputEvents KC_NUMPAD5
 
enum Script2Game::inputEvents KC_NUMPAD6
 
enum Script2Game::inputEvents KC_NUMPAD7
 
enum Script2Game::inputEvents KC_NUMPAD8
 
enum Script2Game::inputEvents KC_NUMPAD9
 
enum Script2Game::inputEvents KC_NUMPAD0
 
enum Script2Game::inputEvents KC_1
 
enum Script2Game::inputEvents KC_2
 
enum Script2Game::inputEvents KC_3
 
enum Script2Game::inputEvents KC_4
 
enum Script2Game::inputEvents KC_5
 
enum Script2Game::inputEvents KC_6
 
enum Script2Game::inputEvents KC_7
 
enum Script2Game::inputEvents KC_8
 
enum Script2Game::inputEvents KC_9
 
enum Script2Game::inputEvents KC_0
 
enum Script2Game::inputEvents KC_F1
 
enum Script2Game::inputEvents KC_F2
 
enum Script2Game::inputEvents KC_F3
 
enum Script2Game::inputEvents KC_F4
 
enum Script2Game::inputEvents KC_F5
 
enum Script2Game::inputEvents KC_F6
 
enum Script2Game::inputEvents KC_F7
 
enum Script2Game::inputEvents KC_F8
 
enum Script2Game::inputEvents KC_F9
 
enum Script2Game::inputEvents KC_F10
 
enum Script2Game::inputEvents KC_F11
 
enum Script2Game::inputEvents KC_F12
 
enum Script2Game::inputEvents KC_INSERT
 
enum Script2Game::inputEvents KC_DELETE
 
enum Script2Game::inputEvents KC_BACKSPACE
 
enum Script2Game::inputEvents KC_CAPSLOCK
 
enum Script2Game::inputEvents KC_NUMLOCK
 
enum Script2Game::inputEvents KC_SCROLLLOCK
 
enum Script2Game::inputEvents KC_TAB
 
enum Script2Game::inputEvents KC_ESCAPE
 
enum Script2Game::inputEvents KC_RETURN
 
enum Script2Game::inputEvents KC_LEFT
 
enum Script2Game::inputEvents KC_RIGHT
 
enum Script2Game::inputEvents KC_HOME
 
enum Script2Game::inputEvents KC_UP
 
enum Script2Game::inputEvents KC_PGUP
 
enum Script2Game::inputEvents KC_END
 
enum Script2Game::inputEvents KC_DOWN
 
enum Script2Game::inputEvents KC_PGDOWN
 
enum Script2Game::inputEvents KC_PAUSE
 
enum Script2Game::inputEvents KC_LCTRL
 
enum Script2Game::inputEvents KC_RCTRL
 
enum Script2Game::inputEvents KC_LSHIFT
 
enum Script2Game::inputEvents KC_RSHIFT
 
enum Script2Game::inputEvents KC_LALT
 
enum Script2Game::inputEvents KC_RALT
 
enum Script2Game::inputEvents KC_LWIN
 
enum Script2Game::inputEvents KC_RWIN
 
enum Script2Game::inputEvents KC_MINUS
 
enum Script2Game::inputEvents KC_EQUALS
 
enum Script2Game::inputEvents KC_LBRACKET
 
enum Script2Game::inputEvents KC_RBRACKET
 
enum Script2Game::inputEvents KC_SEMICOLON
 
enum Script2Game::inputEvents KC_APOSTROPHE
 
enum Script2Game::inputEvents KC_GRAVE
 
enum Script2Game::inputEvents KC_BACKSLASH
 
enum Script2Game::inputEvents KC_COMMA
 
enum Script2Game::inputEvents KC_PERIOD
 
enum Script2Game::inputEvents KC_SLASH
 
enum Script2Game::inputEvents KC_MULTIPLY
 
enum Script2Game::inputEvents KC_SPACE
 
enum Script2Game::inputEvents KC_SUBTRACT
 
enum Script2Game::inputEvents KC_ADD
 
enum Script2Game::inputEvents TT_NOT_DRIVEABLE
 Binding of RoR::ActorType. More...
 
enum Script2Game::inputEvents TT_TRUCK
 
enum Script2Game::inputEvents TT_AIRPLANE
 
enum Script2Game::inputEvents TT_BOAT
 
enum Script2Game::inputEvents TT_MACHINE
 
enum Script2Game::inputEvents TT_AI
 
enum Script2Game::inputEvents TS_SIMULATED
 Binding of RoR::ActorState. More...
 
enum Script2Game::inputEvents TS_SLEEPING
 locally simulated but sleeping More...
 
enum Script2Game::inputEvents TS_NETWORKED
 controlled by network data More...
 
enum Script2Game::BlinkType ACTOR_MODIFY_REQUEST_INVALID
 Binding of RoR::ActorModifyRequest::Type; use with MSG_SIM_MODIFY_ACTOR_REQUESTED More...
 
enum Script2Game::BlinkType ACTOR_MODIFY_REQUEST_RELOAD
 Full reload from filesystem, requested by user. More...
 
enum Script2Game::BlinkType ACTOR_MODIFY_REQUEST_RESET_ON_INIT_POS
 
enum Script2Game::BlinkType ACTOR_MODIFY_REQUEST_RESET_ON_SPOT
 
enum Script2Game::BlinkType ACTOR_MODIFY_REQUEST_SOFT_RESET
 
enum Script2Game::BlinkType ACTOR_MODIFY_REQUEST_RESTORE_SAVED
 Internal, DO NOT USE. More...
 
enum Script2Game::BlinkType ACTOR_MODIFY_REQUEST_WAKE_UP
 

Detailed Description

Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.

Enumeration Type Documentation

◆ angelScriptManipulationType

Argument #2 of script event SE_ANGELSCRIPT_MANIPULATIONS

Enumerator
ASMANIP_CONSOLE_SNIPPET_EXECUTED 
ASMANIP_SCRIPT_LOADED 

Triggered after the script's main() completed; may trigger additional processing (for example, it delivers the *.mission file to mission system script).

ASMANIP_SCRIPT_UNLOADING 

Triggered before unloading the script to let it clean up (important for missions).

Definition at line 88 of file globals.h.

◆ angelScriptThreadStatus

Enumerator
ASTHREADSTATUS_NONE 
ASTHREADSTATUS_CURLSTRING_PROGRESS 

Args of RoR::SE_ANGELSCRIPT_THREAD_STATUS: arg#1 type, arg#2 percentage, arg#3 unused, arg#4 unused, arg#5 progress message (formatted by RoR)

ASTHREADSTATUS_CURLSTRING_SUCCESS 

Args of RoR::SE_ANGELSCRIPT_THREAD_STATUS: arg#1 type, arg#2 HTTP code, arg#3 CURLcode, arg#4 unused, arg#5 payload.

ASTHREADSTATUS_CURLSTRING_FAILURE 

Args of RoR::SE_ANGELSCRIPT_THREAD_STATUS: arg#1 type, arg#2 HTTP code, arg#3 CURLcode, arg#4 unused, arg#5 message from curl_easy_strerror()

Definition at line 95 of file globals.h.

◆ BlinkType

Binding of RoR::BlinkType.

Enumerator
BLINK_NONE 
BLINK_LEFT 
BLINK_RIGHT 
BLINK_WARN 

Definition at line 569 of file globals.h.

◆ FlareType

Binding of RoR::FlareType.

Enumerator
FLARE_TYPE_NONE 
FLARE_TYPE_HEADLIGHT 
FLARE_TYPE_HIGH_BEAM 
FLARE_TYPE_FOG_LIGHT 
FLARE_TYPE_TAIL_LIGHT 
FLARE_TYPE_BRAKE_LIGHT 
FLARE_TYPE_REVERSE_LIGHT 
FLARE_TYPE_SIDELIGHT 
FLARE_TYPE_BLINKER_LEFT 
FLARE_TYPE_BLINKER_RIGHT 
FLARE_TYPE_USER 
FLARE_TYPE_DASHBOARD 

Definition at line 551 of file globals.h.

◆ inputEvents

Enumerator
EV_AIRPLANE_AIRBRAKES_FULL 
EV_AIRPLANE_AIRBRAKES_LESS 
EV_AIRPLANE_AIRBRAKES_MORE 
EV_AIRPLANE_AIRBRAKES_NONE 
EV_AIRPLANE_BRAKE 

normal brake for an aircraft.

EV_AIRPLANE_ELEVATOR_DOWN 

pull the elevator down in an aircraft.

EV_AIRPLANE_ELEVATOR_UP 

pull the elevator up in an aircraft.

EV_AIRPLANE_FLAPS_FULL 

full flaps in an aircraft.

EV_AIRPLANE_FLAPS_LESS 

one step less flaps.

EV_AIRPLANE_FLAPS_MORE 

one step more flaps.

EV_AIRPLANE_FLAPS_NONE 

no flaps.

EV_AIRPLANE_PARKING_BRAKE 

airplane parking brake.

EV_AIRPLANE_REVERSE 

reverse the turboprops

EV_AIRPLANE_RUDDER_LEFT 

rudder left

EV_AIRPLANE_RUDDER_RIGHT 

rudder right

EV_AIRPLANE_STEER_LEFT 

steer left

EV_AIRPLANE_STEER_RIGHT 

steer right

EV_AIRPLANE_THROTTLE 
EV_AIRPLANE_THROTTLE_AXIS 

throttle axis. Only use this if you have fitting hardware :) (i.e. a Slider)

EV_AIRPLANE_THROTTLE_DOWN 

decreases the airplane thrust

EV_AIRPLANE_THROTTLE_FULL 

full thrust

EV_AIRPLANE_THROTTLE_NO 

no thrust

EV_AIRPLANE_THROTTLE_UP 

increase the airplane thrust

EV_AIRPLANE_TOGGLE_ENGINES 

switch all engines on / off

EV_BOAT_CENTER_RUDDER 

center the rudder

EV_BOAT_REVERSE 

no thrust

EV_BOAT_STEER_LEFT 

steer left a step

EV_BOAT_STEER_LEFT_AXIS 

steer left (analog value!)

EV_BOAT_STEER_RIGHT 

steer right a step

EV_BOAT_STEER_RIGHT_AXIS 

steer right (analog value!)

EV_BOAT_THROTTLE_AXIS 

throttle axis. Only use this if you have fitting hardware :) (i.e. a Slider)

EV_BOAT_THROTTLE_DOWN 

decrease throttle

EV_BOAT_THROTTLE_UP 

increase throttle

EV_SKY_DECREASE_TIME 

decrease day-time

EV_SKY_DECREASE_TIME_FAST 

decrease day-time a lot faster

EV_SKY_INCREASE_TIME 

increase day-time

EV_SKY_INCREASE_TIME_FAST 

increase day-time a lot faster

EV_CAMERA_CHANGE 

change camera mode

EV_CAMERA_DOWN 
EV_CAMERA_FREE_MODE 
EV_CAMERA_FREE_MODE_FIX 
EV_CAMERA_LOOKBACK 

look back (toggles between normal and lookback)

EV_CAMERA_RESET 

reset the camera position

EV_CAMERA_ROTATE_DOWN 

rotate camera down

EV_CAMERA_ROTATE_LEFT 

rotate camera left

EV_CAMERA_ROTATE_RIGHT 

rotate camera right

EV_CAMERA_ROTATE_UP 

rotate camera up

EV_CAMERA_UP 
EV_CAMERA_ZOOM_IN 

zoom camera in

EV_CAMERA_ZOOM_IN_FAST 

zoom camera in faster

EV_CAMERA_ZOOM_OUT 

zoom camera out

EV_CAMERA_ZOOM_OUT_FAST 

zoom camera out faster

EV_CHARACTER_BACKWARDS 

step backwards with the character

EV_CHARACTER_FORWARD 

step forward with the character

EV_CHARACTER_JUMP 

let the character jump

EV_CHARACTER_LEFT 

rotate character left

EV_CHARACTER_RIGHT 

rotate character right

EV_CHARACTER_ROT_DOWN 
EV_CHARACTER_ROT_UP 
EV_CHARACTER_RUN 

let the character run

EV_CHARACTER_SIDESTEP_LEFT 

sidestep to the left

EV_CHARACTER_SIDESTEP_RIGHT 

sidestep to the right

EV_COMMANDS_01 

Command 1.

EV_COMMANDS_02 

Command 2.

EV_COMMANDS_03 

Command 3.

EV_COMMANDS_04 

Command 4.

EV_COMMANDS_05 

Command 5.

EV_COMMANDS_06 

Command 6.

EV_COMMANDS_07 

Command 7.

EV_COMMANDS_08 

Command 8.

EV_COMMANDS_09 

Command 9.

EV_COMMANDS_10 

Command 10.

EV_COMMANDS_11 

Command 11.

EV_COMMANDS_12 

Command 12.

EV_COMMANDS_13 

Command 13.

EV_COMMANDS_14 

Command 14.

EV_COMMANDS_15 

Command 15.

EV_COMMANDS_16 

Command 16.

EV_COMMANDS_17 

Command 17.

EV_COMMANDS_18 

Command 18.

EV_COMMANDS_19 

Command 19.

EV_COMMANDS_20 

Command 20.

EV_COMMANDS_21 

Command 21.

EV_COMMANDS_22 

Command 22.

EV_COMMANDS_23 

Command 23.

EV_COMMANDS_24 

Command 24.

EV_COMMANDS_25 

Command 25.

EV_COMMANDS_26 

Command 26.

EV_COMMANDS_27 

Command 27.

EV_COMMANDS_28 

Command 28.

EV_COMMANDS_29 

Command 29.

EV_COMMANDS_30 

Command 30.

EV_COMMANDS_31 

Command 31.

EV_COMMANDS_32 

Command 32.

EV_COMMANDS_33 

Command 33.

EV_COMMANDS_34 

Command 34.

EV_COMMANDS_35 

Command 35.

EV_COMMANDS_36 

Command 36.

EV_COMMANDS_37 

Command 37.

EV_COMMANDS_38 

Command 38.

EV_COMMANDS_39 

Command 39.

EV_COMMANDS_40 

Command 40.

EV_COMMANDS_41 

Command 41.

EV_COMMANDS_42 

Command 42.

EV_COMMANDS_43 

Command 43.

EV_COMMANDS_44 

Command 44.

EV_COMMANDS_45 

Command 45.

EV_COMMANDS_46 

Command 46.

EV_COMMANDS_47 

Command 47.

EV_COMMANDS_48 

Command 48.

EV_COMMANDS_49 

Command 49.

EV_COMMANDS_50 

Command 50.

EV_COMMANDS_51 

Command 51.

EV_COMMANDS_52 

Command 52.

EV_COMMANDS_53 

Command 53.

EV_COMMANDS_54 

Command 54.

EV_COMMANDS_55 

Command 55.

EV_COMMANDS_56 

Command 56.

EV_COMMANDS_57 

Command 57.

EV_COMMANDS_58 

Command 58.

EV_COMMANDS_59 

Command 59.

EV_COMMANDS_60 

Command 50.

EV_COMMANDS_61 

Command 61.

EV_COMMANDS_62 

Command 62.

EV_COMMANDS_63 

Command 63.

EV_COMMANDS_64 

Command 64.

EV_COMMANDS_65 

Command 65.

EV_COMMANDS_66 

Command 66.

EV_COMMANDS_67 

Command 67.

EV_COMMANDS_68 

Command 68.

EV_COMMANDS_69 

Command 69.

EV_COMMANDS_70 

Command 70.

EV_COMMANDS_71 

Command 71.

EV_COMMANDS_72 

Command 72.

EV_COMMANDS_73 

Command 73.

EV_COMMANDS_74 

Command 74.

EV_COMMANDS_75 

Command 75.

EV_COMMANDS_76 

Command 76.

EV_COMMANDS_77 

Command 77.

EV_COMMANDS_78 

Command 78.

EV_COMMANDS_79 

Command 79.

EV_COMMANDS_80 

Command 80.

EV_COMMANDS_81 

Command 81.

EV_COMMANDS_82 

Command 82.

EV_COMMANDS_83 

Command 83.

EV_COMMANDS_84 

Command 84.

EV_COMMON_ACCELERATE_SIMULATION 

accelerate the simulation speed

EV_COMMON_DECELERATE_SIMULATION 

decelerate the simulation speed

EV_COMMON_RESET_SIMULATION_PACE 

reset the simulation speed

EV_COMMON_AUTOLOCK 

unlock autolock hook node

EV_COMMON_CONSOLE_TOGGLE 

show / hide the console

EV_COMMON_ENTER_CHATMODE 

enter the chat mode

EV_COMMON_ENTER_OR_EXIT_TRUCK 

enter or exit a truck

EV_COMMON_ENTER_NEXT_TRUCK 

enter next truck

EV_COMMON_ENTER_PREVIOUS_TRUCK 

enter previous truck

EV_COMMON_REMOVE_CURRENT_TRUCK 

remove current truck

EV_COMMON_RESPAWN_LAST_TRUCK 

respawn last truck

EV_COMMON_FOV_LESS 

decreases the current FOV value

EV_COMMON_FOV_MORE 

increases the current FOV value

EV_COMMON_FOV_RESET 

reset the FOV value

EV_COMMON_FULLSCREEN_TOGGLE 
EV_COMMON_HIDE_GUI 

hide all GUI elements

EV_COMMON_TOGGLE_DASHBOARD 

display or hide the dashboard overlay

EV_COMMON_LOCK 

connect hook node to a node in close proximity

EV_COMMON_NETCHATDISPLAY 
EV_COMMON_NETCHATMODE 
EV_COMMON_OUTPUT_POSITION 

write current position to log (you can open the logfile and reuse the position)

EV_COMMON_GET_NEW_VEHICLE 

get new vehicle

EV_COMMON_PRESSURE_LESS 

decrease tire pressure (note: only very few trucks support this)

EV_COMMON_PRESSURE_MORE 

increase tire pressure (note: only very few trucks support this)

EV_COMMON_QUICKLOAD 

quickload scene from the disk

EV_COMMON_QUICKSAVE 

quicksave scene to the disk

EV_COMMON_QUIT_GAME 

exit the game

EV_COMMON_REPAIR_TRUCK 

repair truck to original condition

EV_COMMON_REPLAY_BACKWARD 
EV_COMMON_REPLAY_FAST_BACKWARD 
EV_COMMON_REPLAY_FAST_FORWARD 
EV_COMMON_REPLAY_FORWARD 
EV_COMMON_RESCUE_TRUCK 

teleport to rescue truck

EV_COMMON_RESET_TRUCK 

reset truck to original starting position

EV_COMMON_TOGGLE_RESET_MODE 

toggle truck reset truck mode (soft vs. hard)

EV_COMMON_ROPELOCK 

connect hook node to a node in close proximity

EV_COMMON_SAVE_TERRAIN 

save terrain mesh to file

EV_COMMON_SCREENSHOT 

take a screenshot

EV_COMMON_SCREENSHOT_BIG 

take a BIG screenshot

EV_COMMON_SECURE_LOAD 

tie a load to the truck

EV_COMMON_SEND_CHAT 

send the chat text

EV_COMMON_TOGGLE_DEBUG_VIEW 

toggle debug view mode

EV_COMMON_CYCLE_DEBUG_VIEWS 

cycle debug view mode

EV_COMMON_TOGGLE_TERRAIN_EDITOR 

toggle terrain editor

EV_COMMON_TOGGLE_CUSTOM_PARTICLES 

toggle particle cannon

EV_COMMON_TOGGLE_MAT_DEBUG 

debug purpose - dont use (currently not used)

EV_COMMON_TOGGLE_RENDER_MODE 

toggle render mode (solid, wireframe and points)

EV_COMMON_TOGGLE_REPLAY_MODE 

toggle replay mode

EV_COMMON_TOGGLE_PHYSICS 

toggle physics on/off

EV_COMMON_TOGGLE_STATS 

toggle Ogre statistics (FPS etc.)

EV_COMMON_TOGGLE_TRUCK_BEACONS 

toggle truck beacons

EV_COMMON_TOGGLE_TRUCK_LIGHTS 

toggle truck front lights

EV_COMMON_TRUCK_INFO 

toggle truck HUD

EV_COMMON_TRUCK_DESCRIPTION 

toggle truck description

EV_COMMON_TRUCK_REMOVE 
EV_GRASS_LESS 

EXPERIMENTAL: remove some grass.

EV_GRASS_MORE 

EXPERIMENTAL: add some grass.

EV_GRASS_MOST 

EXPERIMENTAL: set maximum amount of grass.

EV_GRASS_NONE 

EXPERIMENTAL: remove grass completely.

EV_GRASS_SAVE 

EXPERIMENTAL: save changes to the grass density image.

EV_MENU_DOWN 

select next element in current category

EV_MENU_LEFT 

select previous category

EV_MENU_RIGHT 

select next category

EV_MENU_SELECT 

select focussed item and close menu

EV_MENU_UP 

select previous element in current category

EV_SURVEY_MAP_TOGGLE_ICONS 

toggle map icons

EV_SURVEY_MAP_CYCLE 

cycle overview-map mode

EV_SURVEY_MAP_TOGGLE 

toggle overview-map mode

EV_SURVEY_MAP_ZOOM_IN 

increase survey map scale

EV_SURVEY_MAP_ZOOM_OUT 

decrease survey map scale

EV_TRUCK_ACCELERATE 

accelerate the truck

EV_TRUCK_ACCELERATE_MODIFIER_25 

accelerate with 25 percent pedal input

EV_TRUCK_ACCELERATE_MODIFIER_50 

accelerate with 50 percent pedal input

EV_TRUCK_ANTILOCK_BRAKE 

toggle antilockbrake system

EV_TRUCK_AUTOSHIFT_DOWN 

shift automatic transmission one gear down

EV_TRUCK_AUTOSHIFT_UP 

shift automatic transmission one gear up

EV_TRUCK_BLINK_LEFT 

toggle left direction indicator (blinker)

EV_TRUCK_BLINK_RIGHT 

toggle right direction indicator (blinker)

EV_TRUCK_BLINK_WARN 

toggle all direction indicators

EV_TRUCK_BRAKE 

brake

EV_TRUCK_BRAKE_MODIFIER_25 

brake with 25 percent pedal input

EV_TRUCK_BRAKE_MODIFIER_50 

brake with 50 percent pedal input

EV_TRUCK_CRUISE_CONTROL 

toggle cruise control

EV_TRUCK_CRUISE_CONTROL_ACCL 

increase target speed / rpm

EV_TRUCK_CRUISE_CONTROL_DECL 

decrease target speed / rpm

EV_TRUCK_CRUISE_CONTROL_READJUST 

match target speed / rpm with current truck speed / rpm

EV_TRUCK_HORN 

truck horn

EV_TRUCK_LEFT_MIRROR_LEFT 
EV_TRUCK_LEFT_MIRROR_RIGHT 
EV_TRUCK_LIGHTTOGGLE01 

toggle custom light 1

EV_TRUCK_LIGHTTOGGLE02 

toggle custom light 2

EV_TRUCK_LIGHTTOGGLE03 

toggle custom light 3

EV_TRUCK_LIGHTTOGGLE04 

toggle custom light 4

EV_TRUCK_LIGHTTOGGLE05 

toggle custom light 5

EV_TRUCK_LIGHTTOGGLE06 

toggle custom light 6

EV_TRUCK_LIGHTTOGGLE07 

toggle custom light 7

EV_TRUCK_LIGHTTOGGLE08 

toggle custom light 8

EV_TRUCK_LIGHTTOGGLE09 

toggle custom light 9

EV_TRUCK_LIGHTTOGGLE10 

toggle custom light 10

EV_TRUCK_MANUAL_CLUTCH 

manual clutch (for manual transmission)

EV_TRUCK_PARKING_BRAKE 

toggle parking brake

EV_TRUCK_TRAILER_PARKING_BRAKE 

toggle trailer parking brake

EV_TRUCK_RIGHT_MIRROR_LEFT 
EV_TRUCK_RIGHT_MIRROR_RIGHT 
EV_TRUCK_SHIFT_DOWN 

shift one gear down in manual transmission mode

EV_TRUCK_SHIFT_GEAR01 

shift directly into this gear

EV_TRUCK_SHIFT_GEAR02 

shift directly into this gear

EV_TRUCK_SHIFT_GEAR03 

shift directly into this gear

EV_TRUCK_SHIFT_GEAR04 

shift directly into this gear

EV_TRUCK_SHIFT_GEAR05 

shift directly into this gear

EV_TRUCK_SHIFT_GEAR06 

shift directly into this gear

EV_TRUCK_SHIFT_GEAR07 

shift directly into this gear

EV_TRUCK_SHIFT_GEAR08 

shift directly into this gear

EV_TRUCK_SHIFT_GEAR09 

shift directly into this gear

EV_TRUCK_SHIFT_GEAR10 

shift directly into this gear

EV_TRUCK_SHIFT_GEAR11 

shift directly into this gear

EV_TRUCK_SHIFT_GEAR12 

shift directly into this gear

EV_TRUCK_SHIFT_GEAR13 

shift directly into this gear

EV_TRUCK_SHIFT_GEAR14 

shift directly into this gear

EV_TRUCK_SHIFT_GEAR15 

shift directly into this gear

EV_TRUCK_SHIFT_GEAR16 

shift directly into this gear

EV_TRUCK_SHIFT_GEAR17 

shift directly into this gear

EV_TRUCK_SHIFT_GEAR18 

shift directly into this gear

EV_TRUCK_SHIFT_GEAR_REVERSE 

shift directly into this gear

EV_TRUCK_SHIFT_HIGHRANGE 

select high range (13-18) for H-shaft

EV_TRUCK_SHIFT_LOWRANGE 

select low range (1-6) for H-shaft

EV_TRUCK_SHIFT_MIDRANGE 

select middle range (7-12) for H-shaft

EV_TRUCK_SHIFT_NEUTRAL 

shift to neutral gear in manual transmission mode

EV_TRUCK_SHIFT_UP 

shift one gear up in manual transmission mode

EV_TRUCK_STARTER 

hold to start the engine

EV_TRUCK_STEER_LEFT 

steer left

EV_TRUCK_STEER_RIGHT 

steer right

EV_TRUCK_SWITCH_SHIFT_MODES 

toggle between transmission modes

EV_TRUCK_TOGGLE_CONTACT 

toggle ignition

EV_TRUCK_TOGGLE_FORWARDCOMMANDS 

toggle forwardcommands

EV_TRUCK_TOGGLE_IMPORTCOMMANDS 

toggle importcommands

EV_TRUCK_TOGGLE_INTER_AXLE_DIFF 

toggle the inter axle differential mode

EV_TRUCK_TOGGLE_INTER_WHEEL_DIFF 

toggle the inter wheel differential mode

EV_TRUCK_TOGGLE_PHYSICS 

toggle physics simulation

EV_TRUCK_TOGGLE_TCASE_4WD_MODE 

toggle the transfer case 4wd mode

EV_TRUCK_TOGGLE_TCASE_GEAR_RATIO 

toggle the transfer case gear ratio

EV_TRUCK_TOGGLE_VIDEOCAMERA 

toggle videocamera update

EV_TRUCK_TRACTION_CONTROL 

toggle antilockbrake system

EV_COMMON_QUICKSAVE_01 
EV_COMMON_QUICKSAVE_02 
EV_COMMON_QUICKSAVE_03 
EV_COMMON_QUICKSAVE_04 
EV_COMMON_QUICKSAVE_05 
EV_COMMON_QUICKSAVE_06 
EV_COMMON_QUICKSAVE_07 
EV_COMMON_QUICKSAVE_08 
EV_COMMON_QUICKSAVE_09 
EV_COMMON_QUICKSAVE_10 
EV_COMMON_QUICKLOAD_01 
EV_COMMON_QUICKLOAD_02 
EV_COMMON_QUICKLOAD_03 
EV_COMMON_QUICKLOAD_04 
EV_COMMON_QUICKLOAD_05 
EV_COMMON_QUICKLOAD_06 
EV_COMMON_QUICKLOAD_07 
EV_COMMON_QUICKLOAD_08 
EV_COMMON_QUICKLOAD_09 
EV_COMMON_QUICKLOAD_10 
EV_TRUCKEDIT_RELOAD 

Definition at line 116 of file globals.h.

◆ modCacheActivityType

Argument #2 of script event RoR::SE_GENERIC_MODCACHE_ACTIVITY

Enumerator
MODCACHEACTIVITY_NONE 
MODCACHEACTIVITY_ENTRY_ADDED 

Args of RoR::SE_GENERIC_MODCACHE_NOTIFICATION: #1 type, #2 entry number, –, –, #5 fname, #6 fext.

MODCACHEACTIVITY_ENTRY_DELETED 

Flagged as deleted, remains in memory until shared pointers expire; Args of RoR::SE_GENERIC_MODCACHE_NOTIFICATION: #1 type, #2 entry number, –, –, #5 fname, #6 fext.

MODCACHEACTIVITY_BUNDLE_LOADED 

Args of RoR::SE_GENERIC_MODCACHE_NOTIFICATION: #1 type, #2 entry number, –, –, #5 rg name.

MODCACHEACTIVITY_BUNDLE_RELOADED 

Args of RoR::SE_GENERIC_MODCACHE_NOTIFICATION: #1 type, #2 entry number, –, –, #5 rg name.

MODCACHEACTIVITY_BUNDLE_UNLOADED 

Args of RoR::SE_GENERIC_MODCACHE_NOTIFICATION: #1 type, #2 entry number.

Definition at line 104 of file globals.h.

◆ ModulationSources

Binding of RoR::ModulationSources

Enumerator
SS_MOD_NONE 
SS_MOD_ENGINE 
SS_MOD_TURBO 
SS_MOD_AEROENGINE1 
SS_MOD_AEROENGINE2 
SS_MOD_AEROENGINE3 
SS_MOD_AEROENGINE4 
SS_MOD_WHEELSPEED 
SS_MOD_INJECTOR 
SS_MOD_TORQUE 
SS_MOD_GEARBOX 
SS_MOD_CREAK 
SS_MOD_BREAK 
SS_MOD_SCREETCH 
SS_MOD_PUMP 
SS_MOD_THROTTLE1 
SS_MOD_THROTTLE2 
SS_MOD_THROTTLE3 
SS_MOD_THROTTLE4 
SS_MOD_THROTTLE5 
SS_MOD_THROTTLE6 
SS_MOD_THROTTLE7 
SS_MOD_THROTTLE8 
SS_MOD_AEROENGINE5 
SS_MOD_AEROENGINE6 
SS_MOD_AEROENGINE7 
SS_MOD_AEROENGINE8 
SS_MOD_AIRSPEED 
SS_MOD_AOA 
SS_MOD_LINKED_COMMANDRATE 
SS_MOD_MUSIC_VOLUME 

Definition at line 105 of file sound_enums.h.

◆ MsgType

Binding of RoR::MsgType; Global gameplay message loop.

Enumerator
MSG_INVALID 
MSG_APP_SHUTDOWN_REQUESTED 

Immediate application shutdown. No params.

MSG_APP_SCREENSHOT_REQUESTED 

Capture screenshot. No params.

MSG_APP_DISPLAY_FULLSCREEN_REQUESTED 

Switch to fullscreen. No params.

MSG_APP_DISPLAY_WINDOWED_REQUESTED 

Switch to windowed display. No params.

MSG_APP_MODCACHE_LOAD_REQUESTED 

Internal for game startup, DO NOT PUSH MANUALLY.

MSG_APP_MODCACHE_UPDATE_REQUESTED 

Rescan installed mods and update cache. No params.

MSG_APP_MODCACHE_PURGE_REQUESTED 

Request cleanup and full rebuild of mod cache.

MSG_APP_LOAD_SCRIPT_REQUESTED 

Request loading a script from resource(file) or memory; Params 'filename' (string)/'buffer'(string - has precedence over filename), 'category' (ScriptCategory), 'associated_actor' (int - only for SCRIPT_CATEGORY_ACTOR)

MSG_APP_UNLOAD_SCRIPT_REQUESTED 

Request unloading a script; Param 'id' (int - the ID of the script unit, see 'Script Monitor' tab in console UI.)

MSG_APP_REINIT_INPUT_REQUESTED 

Request restarting the entire input subsystem (mouse, keyboard, controllers) including reloading input mappings. Use with caution.

MSG_NET_CONNECT_REQUESTED 

Request connection to multiplayer server specified by cvars 'mp_server_host, mp_server_port, mp_server_password'. No params.

MSG_NET_CONNECT_STARTED 

Networking notification, DO NOT PUSH MANUALLY.

MSG_NET_CONNECT_PROGRESS 

Networking notification, DO NOT PUSH MANUALLY.

MSG_NET_CONNECT_SUCCESS 

Networking notification, DO NOT PUSH MANUALLY.

MSG_NET_CONNECT_FAILURE 

Networking notification, DO NOT PUSH MANUALLY.

MSG_NET_SERVER_KICK 

Networking notification, DO NOT PUSH MANUALLY.

MSG_NET_DISCONNECT_REQUESTED 

Request disconnect from multiplayer. No params.

MSG_NET_USER_DISCONNECT 

Networking notification, DO NOT PUSH MANUALLY.

MSG_NET_RECV_ERROR 

Networking notification, DO NOT PUSH MANUALLY.

MSG_NET_REFRESH_SERVERLIST_SUCCESS 

Background task notification, DO NOT PUSH MANUALLY.

MSG_NET_REFRESH_SERVERLIST_FAILURE 

Background task notification, DO NOT PUSH MANUALLY.

MSG_NET_REFRESH_REPOLIST_SUCCESS 

Background task notification, DO NOT PUSH MANUALLY.

MSG_NET_OPEN_RESOURCE_SUCCESS 

Background task notification, DO NOT PUSH MANUALLY.

MSG_NET_REFRESH_REPOLIST_FAILURE 

Background task notification, DO NOT PUSH MANUALLY.

MSG_NET_FETCH_AI_PRESETS_SUCCESS 

Background task notification, DO NOT PUSH MANUALLY.

MSG_NET_FETCH_AI_PRESETS_FAILURE 

Background task notification, DO NOT PUSH MANUALLY.

MSG_SIM_PAUSE_REQUESTED 

Pause game. No params.

MSG_SIM_UNPAUSE_REQUESTED 

Unpause game. No params.

MSG_SIM_LOAD_TERRN_REQUESTED 

Request loading terrain. Param 'filename' (string)

MSG_SIM_LOAD_SAVEGAME_REQUESTED 

Request loading saved game. Param 'filename' (string)

MSG_SIM_UNLOAD_TERRN_REQUESTED 

Request returning to main menu. No params.

MSG_SIM_SPAWN_ACTOR_REQUESTED 

Request spawning an actor. Params: 'filename' (string), 'position' (vector3), 'rotation' (quaternion) 'config' (string, optional), 'skin' (string, optional), 'enter' (bool, optional, default true), , 'free_position' (bool, default false)

MSG_SIM_MODIFY_ACTOR_REQUESTED 

Request change of actor. Params: 'type' (enum ActorModifyRequestType)

MSG_SIM_DELETE_ACTOR_REQUESTED 

Request actor removal. Params: 'instance_id' (int)

MSG_SIM_SEAT_PLAYER_REQUESTED 

Put player character in a vehicle. Params: 'instance_id' (int), use -1 to get out of vehicle.

MSG_SIM_TELEPORT_PLAYER_REQUESTED 

Teleport player character anywhere on terrain. Param 'position' (vector3)

MSG_SIM_HIDE_NET_ACTOR_REQUESTED 

Request hiding of networked actor; used internally by top menubar. Params: 'instance_id' (int)

MSG_SIM_UNHIDE_NET_ACTOR_REQUESTED 

Request revealing of hidden networked actor; used internally by top menubar. Params: 'instance_id' (int)

MSG_SIM_SCRIPT_EVENT_TRIGGERED 

Internal notification about triggering a script event, DO NOT PUSH MANUALLY.

MSG_SIM_SCRIPT_CALLBACK_QUEUED 

Internal notification about triggering a script event, DO NOT PUSH MANUALLY.

MSG_GUI_OPEN_MENU_REQUESTED 
MSG_GUI_CLOSE_MENU_REQUESTED 
MSG_GUI_OPEN_SELECTOR_REQUESTED 

Use game.showChooser() instead.

MSG_GUI_CLOSE_SELECTOR_REQUESTED 

No params.

MSG_GUI_MP_CLIENTS_REFRESH 

No params.

MSG_GUI_SHOW_MESSAGE_BOX_REQUESTED 

Use game.showMessageBox() instead.

MSG_GUI_DOWNLOAD_PROGRESS 

Background task notification, DO NOT PUSH MANUALLY.

MSG_GUI_DOWNLOAD_FINISHED 

Background task notification, DO NOT PUSH MANUALLY.

MSG_EDI_MODIFY_GROUNDMODEL_REQUESTED 

Used by Friction UI, DO NOT PUSH MANUALLY.

MSG_EDI_ENTER_TERRN_EDITOR_REQUESTED 

No params.

MSG_EDI_LEAVE_TERRN_EDITOR_REQUESTED 

No params.

MSG_EDI_LOAD_BUNDLE_REQUESTED 

Load a resource bundle (= ZIP or directory) for a given cache entry. Params: 'cache_entry' (CacheEntryClass@)

MSG_EDI_RELOAD_BUNDLE_REQUESTED 

This deletes all actors using that bundle (= ZIP or directory)! Params: 'cache_entry' (CacheEntryClass@)

MSG_EDI_UNLOAD_BUNDLE_REQUESTED 

This deletes all actors using that bundle (= ZIP or directory)! Params: 'cache_entry' (CacheEntryClass@)

MSG_EDI_CREATE_PROJECT_REQUESTED 

Creates a subdir under 'projects/', pre-populates it and adds to modcache. Params: 'name' (string), 'ext' (string, optional), 'source_entry' (CacheEntryClass@)

Definition at line 604 of file globals.h.

◆ ScriptCategory

Binding of RoR::ScriptCategory ~ for game.pushMessage(MSG_APP_LOAD_SCRIPT_REQUESTED ...)

Enumerator
SCRIPT_CATEGORY_INVALID 
SCRIPT_CATEGORY_ACTOR 

Defined in truck file under 'scripts', contains global variable BeamClass@ thisActor.

SCRIPT_CATEGORY_TERRAIN 

Defined in terrn2 file under '[Scripts]', receives terrain eventbox notifications.

SCRIPT_CATEGORY_CUSTOM 

Loaded by user via either: A) ingame console 'loadscript'; B) RoR.cfg 'diag_custom_scripts'; C) commandline '-runscript'.

Definition at line 593 of file globals.h.

◆ scriptEvents

Binding of RoR::scriptEvents; All the events that can be used by the script.

See also
Script2Game::GameScriptClass::registerForEvent()
Enumerator
SE_ALL_EVENTS 

An actor or person entered an eventbox; Arguments of eventCallbackEx(): #1 type, #2 Actor Instance ID (use game.getTruckByNum()), #3 Actor node ID, #4 unused, #5 object instance name, #6 eventbox name #7 unused #8 unused.

An actor or person entered an eventbox; Arguments of eventCallbackEx(): #1 type, #2 Actor Instance ID (use game.getTruckByNum()), #3 unused, #4 unused, #5 object instance name, #6 eventbox name #7 unused #8 unused. triggered when switching from person mode to truck mode, the argument refers to the Actor Instance ID (use game.getTruckByNum()) triggered when switching from truck mode to person mode, the argument refers to the Actor Instance ID (use game.getTruckByNum()) triggered when the trucks engine dies (from underrev, water, etc), the argument refers to the Actor Instance ID (use game.getTruckByNum()) triggered when the planes engines start to get on fire, the argument refers to the Actor Instance ID (use game.getTruckByNum()) triggered when any part of the truck touches water, the argument refers to the Actor Instance ID (use game.getTruckByNum()) triggered when the main light is toggled, the argument refers to the Actor Instance ID (use game.getTruckByNum()) triggered when the user toggles ties, the argument refers to the Actor Instance ID (use game.getTruckByNum()) triggered when the user toggles the parking brake, the argument refers to the Actor Instance ID (use game.getTruckByNum()) triggered when the user toggles beacons, the argument refers to the Actor Instance ID (use game.getTruckByNum()) triggered when the user toggles custom particles, the argument refers to the Actor Instance ID (use game.getTruckByNum()) triggered when the user spawns a new truck, the argument refers to the Actor Instance ID (use game.getTruckByNum()) triggered when the user deletes a truck, the argument refers to the Actor Instance ID (use game.getTruckByNum()) triggered when the user resets the truck, the argument refers to the Actor Instance ID (use game.getTruckByNum()) triggered when the user teleports the truck, the argument refers to the Actor Instance ID (use game.getTruckByNum()) triggered when the user uses the mouse to interact with the actor, the argument refers to the Actor Instance ID (use game.getTruckByNum()) triggered when the user tries to dynamically use the scripting capabilities (prevent cheating) args: #1 angelScriptManipulationType, #2 ScriptUnitId_t, #3 RoR::ScriptCategory, #4 unused, #5 script file name (*.as), #6 associated file name (i.e. *.mission), #7 associated file resource group (i.e. *.mission). The diagnostic info directly from AngelScript engine (see asSMessageInfo), args: #1 ScriptUnitID, #2 asEMsgType, #3 row, #4 col, #5 sectionName, #6 message The diagnostic info directly from AngelScript engine (see SetLineCallback()), args: #1 ScriptUnitID, #2 LineNumber, #3 CallstackSize, #4 unused, #5 FunctionName, #6 FunctionObjectTypeName #7 ObjectName The diagnostic info directly from AngelScript engine (see SetExceptionCallback()), args: #1 ScriptUnitID, #2 unused, #3 row (GetExceptionLineNumber()), #4 unused, #5 funcName, #6 message (GetExceptionString()) Sent by background threads (i.e. CURL) when there's something important (like finishing a download). args: #1 type, see Script2Game::angelScriptThreadStatus.
triggered when the user clicks on a message box button, the argument refers to the button pressed Triggered when C++ exception (usually Ogre::Exception) is thrown; #1 ScriptUnitID, #5 originFuncName, #6 type, #7 message. Triggered when status of modcache changes, args: #1 type, #2 entry number, for other args see RoR::modCacheActivityType
Triggered when 2 actors become linked or unlinked via ties/hooks/ropes/slidenodes; args: #1 state (1=linked, 0=unlinked), #2 action ActorLinkingRequestType #3 master ActorInstanceID_t, #4 slave ActorInstanceID_t

SE_NO_EVENTS 

Definition at line 46 of file globals.h.

◆ SoundTriggers

Binding of RoR::SoundTriggers

Enumerator
SS_TRIG_NONE 
SS_TRIG_ENGINE 
SS_TRIG_AEROENGINE1 
SS_TRIG_AEROENGINE2 
SS_TRIG_AEROENGINE3 
SS_TRIG_AEROENGINE4 
SS_TRIG_HORN 
SS_TRIG_BRAKE 
SS_TRIG_PUMP 
SS_TRIG_STARTER 
SS_TRIG_TURBOBOV 
SS_TRIG_TURBOWASTEGATE 
SS_TRIG_TURBOBACKFIRE 
SS_TRIG_ALWAYSON 
SS_TRIG_REPAIR 
SS_TRIG_AIR 
SS_TRIG_GPWS_APDISCONNECT 
SS_TRIG_GPWS_10 
SS_TRIG_GPWS_20 
SS_TRIG_GPWS_30 
SS_TRIG_GPWS_40 
SS_TRIG_GPWS_50 
SS_TRIG_GPWS_100 
SS_TRIG_GPWS_PULLUP 
SS_TRIG_GPWS_MINIMUMS 
SS_TRIG_AIR_PURGE 
SS_TRIG_SHIFT 
SS_TRIG_GEARSLIDE 
SS_TRIG_CREAK 
SS_TRIG_BREAK 
SS_TRIG_SCREETCH 
SS_TRIG_PARK 
SS_TRIG_AFTERBURNER1 
SS_TRIG_AFTERBURNER2 
SS_TRIG_AFTERBURNER3 
SS_TRIG_AFTERBURNER4 
SS_TRIG_AFTERBURNER5 
SS_TRIG_AFTERBURNER6 
SS_TRIG_AFTERBURNER7 
SS_TRIG_AFTERBURNER8 
SS_TRIG_AEROENGINE5 
SS_TRIG_AEROENGINE6 
SS_TRIG_AEROENGINE7 
SS_TRIG_AEROENGINE8 
SS_TRIG_AOA 
SS_TRIG_IGNITION 
SS_TRIG_REVERSE_GEAR 
SS_TRIG_TURN_SIGNAL 
SS_TRIG_TURN_SIGNAL_TICK 
SS_TRIG_TURN_SIGNAL_WARN_TICK 
SS_TRIG_ALB_ACTIVE 
SS_TRIG_TC_ACTIVE 
SS_TRIG_AVICHAT01 
SS_TRIG_AVICHAT02 
SS_TRIG_AVICHAT03 
SS_TRIG_AVICHAT04 
SS_TRIG_AVICHAT05 
SS_TRIG_AVICHAT06 
SS_TRIG_AVICHAT07 
SS_TRIG_AVICHAT08 
SS_TRIG_AVICHAT09 
SS_TRIG_AVICHAT10 
SS_TRIG_AVICHAT11 
SS_TRIG_AVICHAT12 
SS_TRIG_AVICHAT13 
SS_TRIG_LINKED_COMMAND 
SS_TRIG_MAIN_MENU 

Definition at line 32 of file sound_enums.h.

Function Documentation

◆ log()

void Script2Game::log ( const string  message)

This is an alias for game.log(string message).

See also
game.log
+ Here is the caller graph for this function:

◆ print()

void Script2Game::print ( const string  message)

This is an alias for game.log(string message).

See also
game.log

Variable Documentation

◆ ACTOR_MODIFY_REQUEST_INVALID

enum Script2Game::BlinkType Script2Game::ACTOR_MODIFY_REQUEST_INVALID

Binding of RoR::ActorModifyRequest::Type; use with MSG_SIM_MODIFY_ACTOR_REQUESTED

◆ ACTOR_MODIFY_REQUEST_RELOAD

enum Script2Game::BlinkType Script2Game::ACTOR_MODIFY_REQUEST_RELOAD

Full reload from filesystem, requested by user.

◆ ACTOR_MODIFY_REQUEST_RESET_ON_INIT_POS

enum Script2Game::BlinkType Script2Game::ACTOR_MODIFY_REQUEST_RESET_ON_INIT_POS

◆ ACTOR_MODIFY_REQUEST_RESET_ON_SPOT

enum Script2Game::BlinkType Script2Game::ACTOR_MODIFY_REQUEST_RESET_ON_SPOT

◆ ACTOR_MODIFY_REQUEST_RESTORE_SAVED

enum Script2Game::BlinkType Script2Game::ACTOR_MODIFY_REQUEST_RESTORE_SAVED

Internal, DO NOT USE.

◆ ACTOR_MODIFY_REQUEST_SOFT_RESET

enum Script2Game::BlinkType Script2Game::ACTOR_MODIFY_REQUEST_SOFT_RESET

◆ ACTOR_MODIFY_REQUEST_WAKE_UP

enum Script2Game::BlinkType Script2Game::ACTOR_MODIFY_REQUEST_WAKE_UP

◆ KC_0

enum Script2Game::inputEvents Script2Game::KC_0

◆ KC_1

enum Script2Game::inputEvents Script2Game::KC_1

◆ KC_2

enum Script2Game::inputEvents Script2Game::KC_2

◆ KC_3

enum Script2Game::inputEvents Script2Game::KC_3

◆ KC_4

enum Script2Game::inputEvents Script2Game::KC_4

◆ KC_5

enum Script2Game::inputEvents Script2Game::KC_5

◆ KC_6

enum Script2Game::inputEvents Script2Game::KC_6

◆ KC_7

enum Script2Game::inputEvents Script2Game::KC_7

◆ KC_8

enum Script2Game::inputEvents Script2Game::KC_8

◆ KC_9

enum Script2Game::inputEvents Script2Game::KC_9

◆ KC_ADD

enum Script2Game::inputEvents Script2Game::KC_ADD

◆ KC_APOSTROPHE

enum Script2Game::inputEvents Script2Game::KC_APOSTROPHE

◆ KC_BACKSLASH

enum Script2Game::inputEvents Script2Game::KC_BACKSLASH

◆ KC_BACKSPACE

enum Script2Game::inputEvents Script2Game::KC_BACKSPACE

◆ KC_CAPSLOCK

enum Script2Game::inputEvents Script2Game::KC_CAPSLOCK

◆ KC_COMMA

enum Script2Game::inputEvents Script2Game::KC_COMMA

◆ KC_DELETE

enum Script2Game::inputEvents Script2Game::KC_DELETE

◆ KC_DOWN

enum Script2Game::inputEvents Script2Game::KC_DOWN

◆ KC_END

enum Script2Game::inputEvents Script2Game::KC_END

◆ KC_EQUALS

enum Script2Game::inputEvents Script2Game::KC_EQUALS

◆ KC_ESCAPE

enum Script2Game::inputEvents Script2Game::KC_ESCAPE

◆ KC_F1

enum Script2Game::inputEvents Script2Game::KC_F1

◆ KC_F10

enum Script2Game::inputEvents Script2Game::KC_F10

◆ KC_F11

enum Script2Game::inputEvents Script2Game::KC_F11

◆ KC_F12

enum Script2Game::inputEvents Script2Game::KC_F12

◆ KC_F2

enum Script2Game::inputEvents Script2Game::KC_F2

◆ KC_F3

enum Script2Game::inputEvents Script2Game::KC_F3

◆ KC_F4

enum Script2Game::inputEvents Script2Game::KC_F4

◆ KC_F5

enum Script2Game::inputEvents Script2Game::KC_F5

◆ KC_F6

enum Script2Game::inputEvents Script2Game::KC_F6

◆ KC_F7

enum Script2Game::inputEvents Script2Game::KC_F7

◆ KC_F8

enum Script2Game::inputEvents Script2Game::KC_F8

◆ KC_F9

enum Script2Game::inputEvents Script2Game::KC_F9

◆ KC_GRAVE

enum Script2Game::inputEvents Script2Game::KC_GRAVE

◆ KC_HOME

enum Script2Game::inputEvents Script2Game::KC_HOME

◆ KC_INSERT

enum Script2Game::inputEvents Script2Game::KC_INSERT

◆ KC_LALT

enum Script2Game::inputEvents Script2Game::KC_LALT

◆ KC_LBRACKET

enum Script2Game::inputEvents Script2Game::KC_LBRACKET

◆ KC_LCTRL

enum Script2Game::inputEvents Script2Game::KC_LCTRL

◆ KC_LEFT

enum Script2Game::inputEvents Script2Game::KC_LEFT

◆ KC_LSHIFT

enum Script2Game::inputEvents Script2Game::KC_LSHIFT

◆ KC_LWIN

enum Script2Game::inputEvents Script2Game::KC_LWIN

◆ KC_MINUS

enum Script2Game::inputEvents Script2Game::KC_MINUS

◆ KC_MULTIPLY

enum Script2Game::inputEvents Script2Game::KC_MULTIPLY

◆ KC_NUMLOCK

enum Script2Game::inputEvents Script2Game::KC_NUMLOCK

◆ KC_NUMPAD0

enum Script2Game::inputEvents Script2Game::KC_NUMPAD0

◆ KC_NUMPAD1

enum Script2Game::inputEvents Script2Game::KC_NUMPAD1

◆ KC_NUMPAD2

enum Script2Game::inputEvents Script2Game::KC_NUMPAD2

◆ KC_NUMPAD3

enum Script2Game::inputEvents Script2Game::KC_NUMPAD3

◆ KC_NUMPAD4

enum Script2Game::inputEvents Script2Game::KC_NUMPAD4

◆ KC_NUMPAD5

enum Script2Game::inputEvents Script2Game::KC_NUMPAD5

◆ KC_NUMPAD6

enum Script2Game::inputEvents Script2Game::KC_NUMPAD6

◆ KC_NUMPAD7

enum Script2Game::inputEvents Script2Game::KC_NUMPAD7

◆ KC_NUMPAD8

enum Script2Game::inputEvents Script2Game::KC_NUMPAD8

◆ KC_NUMPAD9

enum Script2Game::inputEvents Script2Game::KC_NUMPAD9

◆ KC_PAUSE

enum Script2Game::inputEvents Script2Game::KC_PAUSE

◆ KC_PERIOD

enum Script2Game::inputEvents Script2Game::KC_PERIOD

◆ KC_PGDOWN

enum Script2Game::inputEvents Script2Game::KC_PGDOWN

◆ KC_PGUP

enum Script2Game::inputEvents Script2Game::KC_PGUP

◆ KC_RALT

enum Script2Game::inputEvents Script2Game::KC_RALT

◆ KC_RBRACKET

enum Script2Game::inputEvents Script2Game::KC_RBRACKET

◆ KC_RCTRL

enum Script2Game::inputEvents Script2Game::KC_RCTRL

◆ KC_RETURN

enum Script2Game::inputEvents Script2Game::KC_RETURN

◆ KC_RIGHT

enum Script2Game::inputEvents Script2Game::KC_RIGHT

◆ KC_RSHIFT

enum Script2Game::inputEvents Script2Game::KC_RSHIFT

◆ KC_RWIN

enum Script2Game::inputEvents Script2Game::KC_RWIN

◆ KC_SCROLLLOCK

enum Script2Game::inputEvents Script2Game::KC_SCROLLLOCK

◆ KC_SEMICOLON

enum Script2Game::inputEvents Script2Game::KC_SEMICOLON

◆ KC_SLASH

enum Script2Game::inputEvents Script2Game::KC_SLASH

◆ KC_SPACE

enum Script2Game::inputEvents Script2Game::KC_SPACE

◆ KC_SUBTRACT

enum Script2Game::inputEvents Script2Game::KC_SUBTRACT

◆ KC_TAB

enum Script2Game::inputEvents Script2Game::KC_TAB

◆ KC_UP

enum Script2Game::inputEvents Script2Game::KC_UP

◆ TS_NETWORKED

enum Script2Game::inputEvents Script2Game::TS_NETWORKED

controlled by network data

◆ TS_SIMULATED

enum Script2Game::inputEvents Script2Game::TS_SIMULATED

Binding of RoR::ActorState.

locally simulated and active

◆ TS_SLEEPING

enum Script2Game::inputEvents Script2Game::TS_SLEEPING

locally simulated but sleeping

◆ TT_AI

enum Script2Game::inputEvents Script2Game::TT_AI

◆ TT_AIRPLANE

enum Script2Game::inputEvents Script2Game::TT_AIRPLANE

◆ TT_BOAT

enum Script2Game::inputEvents Script2Game::TT_BOAT

◆ TT_MACHINE

enum Script2Game::inputEvents Script2Game::TT_MACHINE

◆ TT_NOT_DRIVEABLE

enum Script2Game::inputEvents Script2Game::TT_NOT_DRIVEABLE

Binding of RoR::ActorType.

◆ TT_TRUCK

enum Script2Game::inputEvents Script2Game::TT_TRUCK