RigsofRods
Soft-body Physics Simulation
globals.h
Go to the documentation of this file.
1 /*
2 This source file is part of Rigs of Rods
3 
4 For more information, see http://www.rigsofrods.org/
5 
6 Rigs of Rods is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License version 3, as
8 published by the Free Software Foundation.
9 
10 Rigs of Rods is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14 
15 You should have received a copy of the GNU General Public License
16 along with Rigs of Rods. If not, see <http://www.gnu.org/licenses/>.
17 */
18 // created on 25th May 2011.
19 
28 namespace Script2Game {
29 
34 void log(const string message);
35 
40 void print(const string message);
41 
47  {
50 
53 
62 
65 
69 
75 
79 
81 
82  SE_ALL_EVENTS = 0xffffffff,
84 
85  };
86 
89 {
90  ASMANIP_CONSOLE_SNIPPET_EXECUTED = 0, // 0 for Backwards compatibility.
93 };
94 
96 {
101 };
102 
105 {
107 
110 
114 };
115 
117 {
334 
408 
409  // Savegames
420 
431 
433 }
434 
435 enum keyCodes
436 {
437  // PLEASE maintain the same order as in 'InputEngine.h' and 'InputEngineAngelscript.cpp'
438 
439  // Numpad
440  KC_NUMPAD1,
441  KC_NUMPAD2,
442  KC_NUMPAD3,
443  KC_NUMPAD4,
444  KC_NUMPAD5,
445  KC_NUMPAD6,
446  KC_NUMPAD7,
447  KC_NUMPAD8,
448  KC_NUMPAD9,
449  KC_NUMPAD0,
450 
451  // Number keys (not the numpad)
452  KC_1,
453  KC_2,
454  KC_3,
455  KC_4,
456  KC_5,
457  KC_6,
458  KC_7,
459  KC_8,
460  KC_9,
461  KC_0,
462 
463  // Function keys
464  KC_F1 ,
465  KC_F2 ,
466  KC_F3 ,
467  KC_F4 ,
468  KC_F5 ,
469  KC_F6 ,
470  KC_F7 ,
471  KC_F8 ,
472  KC_F9 ,
473  KC_F10,
474  KC_F11,
475  KC_F12,
476 
477  // Edit keys
478  KC_INSERT,
479  KC_DELETE,
480  KC_BACKSPACE,
481  KC_CAPSLOCK,
482  KC_NUMLOCK,
484  KC_TAB,
485 
486  // Navigation keys
487  KC_ESCAPE,
488  KC_RETURN,
489  KC_LEFT ,
490  KC_RIGHT ,
491  KC_HOME ,
492  KC_UP ,
493  KC_PGUP ,
494  KC_END ,
495  KC_DOWN ,
496  KC_PGDOWN,
497  KC_PAUSE ,
498 
499  // Modifiers
500  KC_LCTRL ,
501  KC_RCTRL ,
502  KC_LSHIFT,
503  KC_RSHIFT,
504  KC_LALT ,
505  KC_RALT ,
506  KC_LWIN ,
507  KC_RWIN ,
508 
509  // Special characters
510  KC_MINUS ,
511  KC_EQUALS ,
512  KC_LBRACKET ,
513  KC_RBRACKET ,
514  KC_SEMICOLON ,
516  KC_GRAVE ,
517  KC_BACKSLASH ,
518  KC_COMMA ,
519  KC_PERIOD ,
520  KC_SLASH ,
521  KC_MULTIPLY ,
522  KC_SPACE ,
523  KC_SUBTRACT ,
524  KC_ADD ,
525 }
526 
530 enum truckTypes {
532  TT_TRUCK,
533  TT_AIRPLANE,
534  TT_BOAT,
535  TT_MACHINE,
536  TT_AI,
537 }
538 
542 enum TruckState {
543  TS_SIMULATED,
544  TS_SLEEPING,
545  TS_NETWORKED,
546 };
547 
551 enum FlareType {
564 };
565 
569 enum BlinkType {
574 }
575 
579 enum ActorModifyRequestType
580 {
588 };
589 
594 {
599 };
600 
605 {
607  // Application
618  // Networking
635  // Simulation
650  // GUI
659  // Editing
667 };
668 
669 } // namespace Script2Game
670 
Script2Game::ASTHREADSTATUS_NONE
@ ASTHREADSTATUS_NONE
Definition: globals.h:97
Script2Game::KC_SUBTRACT
enum Script2Game::inputEvents KC_SUBTRACT
Script2Game::MODCACHEACTIVITY_BUNDLE_UNLOADED
@ MODCACHEACTIVITY_BUNDLE_UNLOADED
Args of RoR::SE_GENERIC_MODCACHE_NOTIFICATION: #1 type, #2 entry number.
Definition: globals.h:113
Script2Game::EV_COMMON_REPAIR_TRUCK
@ EV_COMMON_REPAIR_TRUCK
repair truck to original condition
Definition: globals.h:291
Script2Game::KC_4
enum Script2Game::inputEvents KC_4
Script2Game::KC_NUMPAD1
enum Script2Game::inputEvents KC_NUMPAD1
Script2Game::EV_CHARACTER_FORWARD
@ EV_CHARACTER_FORWARD
step forward with the character
Definition: globals.h:171
Script2Game::angelScriptThreadStatus
angelScriptThreadStatus
Definition: globals.h:95
Script2Game::EV_COMMANDS_62
@ EV_COMMANDS_62
Command 62.
Definition: globals.h:241
Script2Game::EV_AIRPLANE_REVERSE
@ EV_AIRPLANE_REVERSE
reverse the turboprops
Definition: globals.h:130
Script2Game::EV_TRUCK_SHIFT_GEAR02
@ EV_TRUCK_SHIFT_GEAR02
shift directly into this gear
Definition: globals.h:371
Script2Game::EV_BOAT_THROTTLE_UP
@ EV_BOAT_THROTTLE_UP
increase throttle
Definition: globals.h:150
Script2Game::EV_GRASS_MOST
@ EV_GRASS_MOST
EXPERIMENTAL: set maximum amount of grass.
Definition: globals.h:321
Script2Game::EV_COMMON_NETCHATDISPLAY
@ EV_COMMON_NETCHATDISPLAY
Definition: globals.h:282
Script2Game::SCRIPT_CATEGORY_TERRAIN
@ SCRIPT_CATEGORY_TERRAIN
Defined in terrn2 file under '[Scripts]', receives terrain eventbox notifications.
Definition: globals.h:597
Script2Game::log
void log(const string message)
This is an alias for game.log(string message).
Script2Game::EV_AIRPLANE_FLAPS_LESS
@ EV_AIRPLANE_FLAPS_LESS
one step less flaps.
Definition: globals.h:126
Script2Game::EV_COMMANDS_40
@ EV_COMMANDS_40
Command 40.
Definition: globals.h:219
Script2Game::EV_BOAT_STEER_RIGHT_AXIS
@ EV_BOAT_STEER_RIGHT_AXIS
steer right (analog value!)
Definition: globals.h:147
Script2Game::EV_COMMANDS_09
@ EV_COMMANDS_09
Command 9.
Definition: globals.h:188
Script2Game::MSG_INVALID
@ MSG_INVALID
Definition: globals.h:606
Script2Game::EV_COMMON_FOV_RESET
@ EV_COMMON_FOV_RESET
reset the FOV value
Definition: globals.h:277
Script2Game::KC_INSERT
enum Script2Game::inputEvents KC_INSERT
Script2Game::KC_1
enum Script2Game::inputEvents KC_1
Script2Game::EV_COMMANDS_55
@ EV_COMMANDS_55
Command 55.
Definition: globals.h:234
Script2Game::EV_COMMANDS_27
@ EV_COMMANDS_27
Command 27.
Definition: globals.h:206
Script2Game::EV_TRUCK_LIGHTTOGGLE08
@ EV_TRUCK_LIGHTTOGGLE08
toggle custom light 8
Definition: globals.h:361
Script2Game::EV_COMMON_QUICKSAVE_04
@ EV_COMMON_QUICKSAVE_04
Definition: globals.h:413
Script2Game::EV_TRUCK_ACCELERATE
@ EV_TRUCK_ACCELERATE
accelerate the truck
Definition: globals.h:335
Script2Game::EV_COMMON_TOGGLE_TRUCK_BEACONS
@ EV_COMMON_TOGGLE_TRUCK_BEACONS
toggle truck beacons
Definition: globals.h:314
RoR::SE_TRUCK_ENGINE_FIRE
@ SE_TRUCK_ENGINE_FIRE
triggered when the planes engines start to get on fire, the argument refers to the actor ID of the ve...
Definition: ScriptEvents.h:39
Script2Game::EV_TRUCK_TOGGLE_IMPORTCOMMANDS
@ EV_TRUCK_TOGGLE_IMPORTCOMMANDS
toggle importcommands
Definition: globals.h:400
Script2Game::KC_HOME
enum Script2Game::inputEvents KC_HOME
Script2Game::KC_LBRACKET
enum Script2Game::inputEvents KC_LBRACKET
RoR::SE_ANGELSCRIPT_MANIPULATIONS
@ SE_ANGELSCRIPT_MANIPULATIONS
triggered when the user tries to dynamically use the scripting capabilities (prevent cheating) args: ...
Definition: ScriptEvents.h:54
Script2Game::KC_PAUSE
enum Script2Game::inputEvents KC_PAUSE
Script2Game::EV_COMMON_CYCLE_DEBUG_VIEWS
@ EV_COMMON_CYCLE_DEBUG_VIEWS
cycle debug view mode
Definition: globals.h:306
Script2Game::EV_COMMANDS_02
@ EV_COMMANDS_02
Command 2.
Definition: globals.h:181
Script2Game::KC_NUMPAD7
enum Script2Game::inputEvents KC_NUMPAD7
Script2Game::MSG_GUI_OPEN_MENU_REQUESTED
@ MSG_GUI_OPEN_MENU_REQUESTED
Definition: globals.h:651
Script2Game::EV_CAMERA_ZOOM_IN_FAST
@ EV_CAMERA_ZOOM_IN_FAST
zoom camera in faster
Definition: globals.h:167
RoR::SE_GENERIC_TRUCK_LINKING_CHANGED
@ SE_GENERIC_TRUCK_LINKING_CHANGED
Triggered when 2 actors become linked or unlinked via ties/hooks/ropes/slidenodes; args: #1 state (1=...
Definition: ScriptEvents.h:64
Script2Game::KC_RCTRL
enum Script2Game::inputEvents KC_RCTRL
Script2Game::BLINK_RIGHT
@ BLINK_RIGHT
Definition: globals.h:572
Script2Game::MSG_NET_REFRESH_SERVERLIST_SUCCESS
@ MSG_NET_REFRESH_SERVERLIST_SUCCESS
Background task notification, DO NOT PUSH MANUALLY.
Definition: globals.h:628
Script2Game::EV_CHARACTER_LEFT
@ EV_CHARACTER_LEFT
rotate character left
Definition: globals.h:173
Script2Game::MSG_EDI_RELOAD_BUNDLE_REQUESTED
@ MSG_EDI_RELOAD_BUNDLE_REQUESTED
This deletes all actors using that bundle (= ZIP or directory)! Params: 'cache_entry' (CacheEntryClas...
Definition: globals.h:664
Script2Game::EV_COMMON_AUTOLOCK
@ EV_COMMON_AUTOLOCK
unlock autolock hook node
Definition: globals.h:267
Script2Game::EV_CAMERA_LOOKBACK
@ EV_CAMERA_LOOKBACK
look back (toggles between normal and lookback)
Definition: globals.h:159
Script2Game::EV_AIRPLANE_STEER_LEFT
@ EV_AIRPLANE_STEER_LEFT
steer left
Definition: globals.h:133
Script2Game::KC_NUMPAD4
enum Script2Game::inputEvents KC_NUMPAD4
Script2Game::EV_COMMANDS_34
@ EV_COMMANDS_34
Command 34.
Definition: globals.h:213
Script2Game::MSG_APP_MODCACHE_LOAD_REQUESTED
@ MSG_APP_MODCACHE_LOAD_REQUESTED
Internal for game startup, DO NOT PUSH MANUALLY.
Definition: globals.h:612
Script2Game::EV_COMMANDS_60
@ EV_COMMANDS_60
Command 50.
Definition: globals.h:239
Script2Game::EV_COMMON_PRESSURE_LESS
@ EV_COMMON_PRESSURE_LESS
decrease tire pressure (note: only very few trucks support this)
Definition: globals.h:286
Script2Game::EV_TRUCK_ACCELERATE_MODIFIER_25
@ EV_TRUCK_ACCELERATE_MODIFIER_25
accelerate with 25 percent pedal input
Definition: globals.h:336
Script2Game::KC_PGDOWN
enum Script2Game::inputEvents KC_PGDOWN
Script2Game::EV_BOAT_STEER_RIGHT
@ EV_BOAT_STEER_RIGHT
steer right a step
Definition: globals.h:146
Script2Game::EV_CAMERA_FREE_MODE_FIX
@ EV_CAMERA_FREE_MODE_FIX
Definition: globals.h:158
Script2Game::KC_MINUS
enum Script2Game::inputEvents KC_MINUS
Script2Game::EV_CAMERA_ROTATE_UP
@ EV_CAMERA_ROTATE_UP
rotate camera up
Definition: globals.h:164
Script2Game::ASTHREADSTATUS_CURLSTRING_SUCCESS
@ ASTHREADSTATUS_CURLSTRING_SUCCESS
Args of RoR::SE_ANGELSCRIPT_THREAD_STATUS: arg#1 type, arg#2 HTTP code, arg#3 CURLcode,...
Definition: globals.h:99
Script2Game::MSG_EDI_LEAVE_TERRN_EDITOR_REQUESTED
@ MSG_EDI_LEAVE_TERRN_EDITOR_REQUESTED
No params.
Definition: globals.h:662
Script2Game::EV_COMMON_RESPAWN_LAST_TRUCK
@ EV_COMMON_RESPAWN_LAST_TRUCK
respawn last truck
Definition: globals.h:274
Script2Game::EV_COMMANDS_49
@ EV_COMMANDS_49
Command 49.
Definition: globals.h:228
Script2Game::EV_COMMON_QUICKSAVE_08
@ EV_COMMON_QUICKSAVE_08
Definition: globals.h:417
Script2Game::EV_TRUCK_LIGHTTOGGLE02
@ EV_TRUCK_LIGHTTOGGLE02
toggle custom light 2
Definition: globals.h:355
Script2Game::EV_COMMANDS_42
@ EV_COMMANDS_42
Command 42.
Definition: globals.h:221
Script2Game::EV_COMMON_TOGGLE_PHYSICS
@ EV_COMMON_TOGGLE_PHYSICS
toggle physics on/off
Definition: globals.h:312
Script2Game::MSG_APP_SHUTDOWN_REQUESTED
@ MSG_APP_SHUTDOWN_REQUESTED
Immediate application shutdown. No params.
Definition: globals.h:608
Script2Game::EV_COMMANDS_29
@ EV_COMMANDS_29
Command 29.
Definition: globals.h:208
Script2Game::EV_TRUCK_SHIFT_GEAR08
@ EV_TRUCK_SHIFT_GEAR08
shift directly into this gear
Definition: globals.h:377
Script2Game::EV_COMMON_QUICKSAVE_05
@ EV_COMMON_QUICKSAVE_05
Definition: globals.h:414
Script2Game::EV_AIRPLANE_THROTTLE_NO
@ EV_AIRPLANE_THROTTLE_NO
no thrust
Definition: globals.h:139
Script2Game::EV_MENU_SELECT
@ EV_MENU_SELECT
select focussed item and close menu
Definition: globals.h:327
Script2Game::KC_DELETE
enum Script2Game::inputEvents KC_DELETE
Script2Game::EV_COMMON_QUICKLOAD_05
@ EV_COMMON_QUICKLOAD_05
Definition: globals.h:425
Script2Game::EV_TRUCK_SHIFT_GEAR17
@ EV_TRUCK_SHIFT_GEAR17
shift directly into this gear
Definition: globals.h:386
Script2Game::KC_NUMPAD9
enum Script2Game::inputEvents KC_NUMPAD9
Script2Game::FLARE_TYPE_SIDELIGHT
@ FLARE_TYPE_SIDELIGHT
Definition: globals.h:559
Script2Game::KC_6
enum Script2Game::inputEvents KC_6
Script2Game::ASMANIP_CONSOLE_SNIPPET_EXECUTED
@ ASMANIP_CONSOLE_SNIPPET_EXECUTED
Definition: globals.h:90
Script2Game::MSG_SIM_LOAD_SAVEGAME_REQUESTED
@ MSG_SIM_LOAD_SAVEGAME_REQUESTED
Request loading saved game. Param 'filename' (string)
Definition: globals.h:639
Script2Game::EV_COMMON_RESET_TRUCK
@ EV_COMMON_RESET_TRUCK
reset truck to original starting position
Definition: globals.h:297
Script2Game::EV_COMMON_QUICKLOAD_01
@ EV_COMMON_QUICKLOAD_01
Definition: globals.h:421
Script2Game::EV_CAMERA_ZOOM_OUT
@ EV_CAMERA_ZOOM_OUT
zoom camera out
Definition: globals.h:168
Script2Game::EV_GRASS_LESS
@ EV_GRASS_LESS
EXPERIMENTAL: remove some grass.
Definition: globals.h:319
Script2Game::MSG_GUI_CLOSE_MENU_REQUESTED
@ MSG_GUI_CLOSE_MENU_REQUESTED
Definition: globals.h:652
Script2Game::KC_PGUP
enum Script2Game::inputEvents KC_PGUP
RoR::SE_ANGELSCRIPT_LINECALLBACK
@ SE_ANGELSCRIPT_LINECALLBACK
The diagnostic info directly from AngelScript engine (see SetLineCallback()), args: #1 ScriptUnitID,...
Definition: ScriptEvents.h:56
Script2Game::EV_BOAT_STEER_LEFT_AXIS
@ EV_BOAT_STEER_LEFT_AXIS
steer left (analog value!)
Definition: globals.h:145
Script2Game::MSG_APP_MODCACHE_UPDATE_REQUESTED
@ MSG_APP_MODCACHE_UPDATE_REQUESTED
Rescan installed mods and update cache. No params.
Definition: globals.h:613
Script2Game::EV_COMMANDS_48
@ EV_COMMANDS_48
Command 48.
Definition: globals.h:227
Script2Game::TT_AIRPLANE
enum Script2Game::inputEvents TT_AIRPLANE
Script2Game::MSG_NET_DISCONNECT_REQUESTED
@ MSG_NET_DISCONNECT_REQUESTED
Request disconnect from multiplayer. No params.
Definition: globals.h:625
Script2Game::KC_GRAVE
enum Script2Game::inputEvents KC_GRAVE
Script2Game::angelScriptManipulationType
angelScriptManipulationType
Argument #2 of script event SE_ANGELSCRIPT_MANIPULATIONS
Definition: globals.h:88
RoR::SE_GENERIC_MESSAGEBOX_CLICK
@ SE_GENERIC_MESSAGEBOX_CLICK
triggered when the user clicks on a message box button, the argument refers to the button pressed
Definition: ScriptEvents.h:60
Script2Game::EV_AIRPLANE_PARKING_BRAKE
@ EV_AIRPLANE_PARKING_BRAKE
airplane parking brake.
Definition: globals.h:129
Script2Game::KC_F10
enum Script2Game::inputEvents KC_F10
Script2Game::EV_TRUCK_SHIFT_DOWN
@ EV_TRUCK_SHIFT_DOWN
shift one gear down in manual transmission mode
Definition: globals.h:369
Script2Game::EV_BOAT_THROTTLE_DOWN
@ EV_BOAT_THROTTLE_DOWN
decrease throttle
Definition: globals.h:149
Script2Game::MSG_GUI_DOWNLOAD_PROGRESS
@ MSG_GUI_DOWNLOAD_PROGRESS
Background task notification, DO NOT PUSH MANUALLY.
Definition: globals.h:657
Script2Game::EV_TRUCK_SHIFT_GEAR11
@ EV_TRUCK_SHIFT_GEAR11
shift directly into this gear
Definition: globals.h:380
Script2Game::EV_COMMON_RESET_SIMULATION_PACE
@ EV_COMMON_RESET_SIMULATION_PACE
reset the simulation speed
Definition: globals.h:266
Script2Game::EV_CHARACTER_RUN
@ EV_CHARACTER_RUN
let the character run
Definition: globals.h:177
Script2Game::EV_COMMON_QUICKLOAD_08
@ EV_COMMON_QUICKLOAD_08
Definition: globals.h:428
Script2Game::EV_COMMON_GET_NEW_VEHICLE
@ EV_COMMON_GET_NEW_VEHICLE
get new vehicle
Definition: globals.h:285
Script2Game::MSG_NET_FETCH_AI_PRESETS_FAILURE
@ MSG_NET_FETCH_AI_PRESETS_FAILURE
Background task notification, DO NOT PUSH MANUALLY.
Definition: globals.h:634
Script2Game::EV_COMMANDS_22
@ EV_COMMANDS_22
Command 22.
Definition: globals.h:201
Script2Game::EV_COMMON_ROPELOCK
@ EV_COMMON_ROPELOCK
connect hook node to a node in close proximity
Definition: globals.h:299
Script2Game::EV_TRUCK_STEER_RIGHT
@ EV_TRUCK_STEER_RIGHT
steer right
Definition: globals.h:396
Script2Game::EV_COMMANDS_07
@ EV_COMMANDS_07
Command 7.
Definition: globals.h:186
Script2Game::EV_COMMON_SECURE_LOAD
@ EV_COMMON_SECURE_LOAD
tie a load to the truck
Definition: globals.h:303
Script2Game::MSG_SIM_SCRIPT_EVENT_TRIGGERED
@ MSG_SIM_SCRIPT_EVENT_TRIGGERED
Internal notification about triggering a script event, DO NOT PUSH MANUALLY.
Definition: globals.h:648
Script2Game::EV_COMMON_QUICKLOAD_03
@ EV_COMMON_QUICKLOAD_03
Definition: globals.h:423
Script2Game::SCRIPT_CATEGORY_ACTOR
@ SCRIPT_CATEGORY_ACTOR
Defined in truck file under 'scripts', contains global variable BeamClass@ thisActor.
Definition: globals.h:596
Script2Game::EV_COMMANDS_30
@ EV_COMMANDS_30
Command 30.
Definition: globals.h:209
Script2Game::KC_F8
enum Script2Game::inputEvents KC_F8
Script2Game::EV_CHARACTER_BACKWARDS
@ EV_CHARACTER_BACKWARDS
step backwards with the character
Definition: globals.h:170
Script2Game::KC_RALT
enum Script2Game::inputEvents KC_RALT
Script2Game::EV_COMMANDS_26
@ EV_COMMANDS_26
Command 26.
Definition: globals.h:205
Script2Game::MSG_APP_LOAD_SCRIPT_REQUESTED
@ MSG_APP_LOAD_SCRIPT_REQUESTED
Request loading a script from resource(file) or memory; Params 'filename' (string)/'buffer'(string - ...
Definition: globals.h:615
Script2Game::KC_RETURN
enum Script2Game::inputEvents KC_RETURN
Script2Game::EV_COMMON_REMOVE_CURRENT_TRUCK
@ EV_COMMON_REMOVE_CURRENT_TRUCK
remove current truck
Definition: globals.h:273
Script2Game::EV_COMMANDS_05
@ EV_COMMANDS_05
Command 5.
Definition: globals.h:184
Script2Game::EV_COMMANDS_70
@ EV_COMMANDS_70
Command 70.
Definition: globals.h:249
Script2Game::KC_EQUALS
enum Script2Game::inputEvents KC_EQUALS
Script2Game::EV_COMMON_QUICKLOAD_02
@ EV_COMMON_QUICKLOAD_02
Definition: globals.h:422
Script2Game::EV_COMMANDS_31
@ EV_COMMANDS_31
Command 31.
Definition: globals.h:210
Script2Game::EV_TRUCK_MANUAL_CLUTCH
@ EV_TRUCK_MANUAL_CLUTCH
manual clutch (for manual transmission)
Definition: globals.h:364
Script2Game::EV_COMMANDS_80
@ EV_COMMANDS_80
Command 80.
Definition: globals.h:259
Script2Game::TS_NETWORKED
enum Script2Game::inputEvents TS_NETWORKED
controlled by network data
Script2Game::MSG_SIM_DELETE_ACTOR_REQUESTED
@ MSG_SIM_DELETE_ACTOR_REQUESTED
Request actor removal. Params: 'instance_id' (int)
Definition: globals.h:643
RoR::SE_TRUCK_MOUSE_GRAB
@ SE_TRUCK_MOUSE_GRAB
triggered when the user uses the mouse to interact with the actor, the argument refers to the actor I...
Definition: ScriptEvents.h:52
Script2Game::EV_TRUCK_LIGHTTOGGLE05
@ EV_TRUCK_LIGHTTOGGLE05
toggle custom light 5
Definition: globals.h:358
Script2Game::EV_COMMANDS_50
@ EV_COMMANDS_50
Command 50.
Definition: globals.h:229
Script2Game::EV_TRUCK_BLINK_RIGHT
@ EV_TRUCK_BLINK_RIGHT
toggle right direction indicator (blinker)
Definition: globals.h:342
Script2Game::KC_LCTRL
enum Script2Game::inputEvents KC_LCTRL
Script2Game::KC_RIGHT
enum Script2Game::inputEvents KC_RIGHT
Script2Game::EV_TRUCK_ANTILOCK_BRAKE
@ EV_TRUCK_ANTILOCK_BRAKE
toggle antilockbrake system
Definition: globals.h:338
Script2Game::EV_TRUCK_CRUISE_CONTROL_READJUST
@ EV_TRUCK_CRUISE_CONTROL_READJUST
match target speed / rpm with current truck speed / rpm
Definition: globals.h:350
Script2Game::EV_COMMON_HIDE_GUI
@ EV_COMMON_HIDE_GUI
hide all GUI elements
Definition: globals.h:279
RoR::SE_GENERIC_MODCACHE_ACTIVITY
@ SE_GENERIC_MODCACHE_ACTIVITY
Triggered when status of modcache changes, args: #1 type, #2 entry number, for other args see RoR::mo...
Definition: ScriptEvents.h:62
Script2Game::MODCACHEACTIVITY_NONE
@ MODCACHEACTIVITY_NONE
Definition: globals.h:106
Script2Game::EV_GRASS_SAVE
@ EV_GRASS_SAVE
EXPERIMENTAL: save changes to the grass density image.
Definition: globals.h:323
Script2Game::MSG_GUI_SHOW_MESSAGE_BOX_REQUESTED
@ MSG_GUI_SHOW_MESSAGE_BOX_REQUESTED
Use game.showMessageBox() instead.
Definition: globals.h:656
Script2Game::ACTOR_MODIFY_REQUEST_RESTORE_SAVED
enum Script2Game::BlinkType ACTOR_MODIFY_REQUEST_RESTORE_SAVED
Internal, DO NOT USE.
Script2Game::KC_ESCAPE
enum Script2Game::inputEvents KC_ESCAPE
Script2Game::MSG_NET_SERVER_KICK
@ MSG_NET_SERVER_KICK
Networking notification, DO NOT PUSH MANUALLY.
Definition: globals.h:624
Script2Game::EV_COMMON_QUICKLOAD_09
@ EV_COMMON_QUICKLOAD_09
Definition: globals.h:429
RoR::SE_GENERIC_NEW_TRUCK
@ SE_GENERIC_NEW_TRUCK
triggered when the user spawns a new actor, the argument refers to the actor ID
Definition: ScriptEvents.h:47
Script2Game::MODCACHEACTIVITY_ENTRY_DELETED
@ MODCACHEACTIVITY_ENTRY_DELETED
Flagged as deleted, remains in memory until shared pointers expire; Args of RoR::SE_GENERIC_MODCACHE_...
Definition: globals.h:109
Script2Game::EV_COMMON_RESCUE_TRUCK
@ EV_COMMON_RESCUE_TRUCK
teleport to rescue truck
Definition: globals.h:296
Script2Game::EV_COMMON_TOGGLE_REPLAY_MODE
@ EV_COMMON_TOGGLE_REPLAY_MODE
toggle replay mode
Definition: globals.h:311
Script2Game::EV_MENU_UP
@ EV_MENU_UP
select previous element in current category
Definition: globals.h:328
Script2Game::EV_COMMON_TOGGLE_TERRAIN_EDITOR
@ EV_COMMON_TOGGLE_TERRAIN_EDITOR
toggle terrain editor
Definition: globals.h:307
Script2Game::EV_TRUCK_SHIFT_GEAR13
@ EV_TRUCK_SHIFT_GEAR13
shift directly into this gear
Definition: globals.h:382
Script2Game::MSG_EDI_ENTER_TERRN_EDITOR_REQUESTED
@ MSG_EDI_ENTER_TERRN_EDITOR_REQUESTED
No params.
Definition: globals.h:661
Script2Game::EV_CHARACTER_RIGHT
@ EV_CHARACTER_RIGHT
rotate character right
Definition: globals.h:174
Script2Game
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
Definition: BeamClass.h:2
Script2Game::EV_COMMANDS_79
@ EV_COMMANDS_79
Command 79.
Definition: globals.h:258
Script2Game::FLARE_TYPE_REVERSE_LIGHT
@ FLARE_TYPE_REVERSE_LIGHT
Definition: globals.h:558
Script2Game::MSG_EDI_UNLOAD_BUNDLE_REQUESTED
@ MSG_EDI_UNLOAD_BUNDLE_REQUESTED
This deletes all actors using that bundle (= ZIP or directory)! Params: 'cache_entry' (CacheEntryClas...
Definition: globals.h:665
Script2Game::SE_NO_EVENTS
@ SE_NO_EVENTS
Definition: globals.h:83
Script2Game::EV_TRUCK_LIGHTTOGGLE01
@ EV_TRUCK_LIGHTTOGGLE01
toggle custom light 1
Definition: globals.h:354
Script2Game::EV_COMMANDS_20
@ EV_COMMANDS_20
Command 20.
Definition: globals.h:199
Script2Game::EV_TRUCK_SWITCH_SHIFT_MODES
@ EV_TRUCK_SWITCH_SHIFT_MODES
toggle between transmission modes
Definition: globals.h:397
Script2Game::KC_SLASH
enum Script2Game::inputEvents KC_SLASH
Script2Game::EV_TRUCK_SHIFT_GEAR07
@ EV_TRUCK_SHIFT_GEAR07
shift directly into this gear
Definition: globals.h:376
Script2Game::EV_COMMANDS_76
@ EV_COMMANDS_76
Command 76.
Definition: globals.h:255
Script2Game::EV_TRUCK_RIGHT_MIRROR_RIGHT
@ EV_TRUCK_RIGHT_MIRROR_RIGHT
Definition: globals.h:368
Script2Game::EV_COMMON_QUICKSAVE_07
@ EV_COMMON_QUICKSAVE_07
Definition: globals.h:416
Script2Game::EV_COMMANDS_67
@ EV_COMMANDS_67
Command 67.
Definition: globals.h:246
RoR::SE_TRUCK_EXIT
@ SE_TRUCK_EXIT
triggered when switching from vehicle mode to person mode, the argument refers to the actor ID of the...
Definition: ScriptEvents.h:36
Script2Game::ASTHREADSTATUS_CURLSTRING_PROGRESS
@ ASTHREADSTATUS_CURLSTRING_PROGRESS
Args of RoR::SE_ANGELSCRIPT_THREAD_STATUS: arg#1 type, arg#2 percentage, arg#3 unused,...
Definition: globals.h:98
Script2Game::EV_COMMON_QUICKLOAD_04
@ EV_COMMON_QUICKLOAD_04
Definition: globals.h:424
Script2Game::EV_COMMANDS_72
@ EV_COMMANDS_72
Command 72.
Definition: globals.h:251
RoR::SE_TRUCK_TIE_TOGGLE
@ SE_TRUCK_TIE_TOGGLE
triggered when the user toggles ties, the argument refers to the actor ID
Definition: ScriptEvents.h:42
Script2Game::MSG_NET_REFRESH_REPOLIST_FAILURE
@ MSG_NET_REFRESH_REPOLIST_FAILURE
Background task notification, DO NOT PUSH MANUALLY.
Definition: globals.h:632
RoR::SE_TRUCK_ENGINE_DIED
@ SE_TRUCK_ENGINE_DIED
triggered when the vehicle's engine dies (from underrev, water, etc), the argument refers to the acto...
Definition: ScriptEvents.h:38
RoR::SE_EVENTBOX_ENTER
@ SE_EVENTBOX_ENTER
Actor or person entered an eventbox; arguments: #1 type, #2 actorID (actor only), #3 node ID (actor o...
Definition: ScriptEvents.h:32
Script2Game::EV_SURVEY_MAP_CYCLE
@ EV_SURVEY_MAP_CYCLE
cycle overview-map mode
Definition: globals.h:330
Script2Game::ACTOR_MODIFY_REQUEST_SOFT_RESET
enum Script2Game::BlinkType ACTOR_MODIFY_REQUEST_SOFT_RESET
Script2Game::EV_COMMON_QUICKLOAD_10
@ EV_COMMON_QUICKLOAD_10
Definition: globals.h:430
Script2Game::BlinkType
BlinkType
Binding of RoR::BlinkType.
Definition: globals.h:569
Script2Game::EV_COMMON_TOGGLE_DASHBOARD
@ EV_COMMON_TOGGLE_DASHBOARD
display or hide the dashboard overlay
Definition: globals.h:280
Script2Game::EV_TRUCK_SHIFT_MIDRANGE
@ EV_TRUCK_SHIFT_MIDRANGE
select middle range (7-12) for H-shaft
Definition: globals.h:391
Script2Game::MODCACHEACTIVITY_ENTRY_ADDED
@ MODCACHEACTIVITY_ENTRY_ADDED
Args of RoR::SE_GENERIC_MODCACHE_NOTIFICATION: #1 type, #2 entry number, –, –, #5 fname,...
Definition: globals.h:108
Script2Game::MSG_NET_REFRESH_REPOLIST_SUCCESS
@ MSG_NET_REFRESH_REPOLIST_SUCCESS
Background task notification, DO NOT PUSH MANUALLY.
Definition: globals.h:630
Script2Game::TT_BOAT
enum Script2Game::inputEvents TT_BOAT
Script2Game::EV_COMMANDS_12
@ EV_COMMANDS_12
Command 12.
Definition: globals.h:191
Script2Game::EV_COMMON_QUICKSAVE
@ EV_COMMON_QUICKSAVE
quicksave scene to the disk
Definition: globals.h:289
Script2Game::EV_COMMON_ENTER_PREVIOUS_TRUCK
@ EV_COMMON_ENTER_PREVIOUS_TRUCK
enter previous truck
Definition: globals.h:272
Script2Game::FLARE_TYPE_USER
@ FLARE_TYPE_USER
Definition: globals.h:562
Script2Game::EV_TRUCK_CRUISE_CONTROL_ACCL
@ EV_TRUCK_CRUISE_CONTROL_ACCL
increase target speed / rpm
Definition: globals.h:348
Script2Game::EV_TRUCK_LIGHTTOGGLE03
@ EV_TRUCK_LIGHTTOGGLE03
toggle custom light 3
Definition: globals.h:356
Script2Game::MODCACHEACTIVITY_BUNDLE_LOADED
@ MODCACHEACTIVITY_BUNDLE_LOADED
Args of RoR::SE_GENERIC_MODCACHE_NOTIFICATION: #1 type, #2 entry number, –, –, #5 rg name.
Definition: globals.h:111
Script2Game::EV_AIRPLANE_THROTTLE_UP
@ EV_AIRPLANE_THROTTLE_UP
increase the airplane thrust
Definition: globals.h:140
Script2Game::ACTOR_MODIFY_REQUEST_RELOAD
enum Script2Game::BlinkType ACTOR_MODIFY_REQUEST_RELOAD
Full reload from filesystem, requested by user.
Script2Game::KC_CAPSLOCK
enum Script2Game::inputEvents KC_CAPSLOCK
Script2Game::EV_COMMANDS_83
@ EV_COMMANDS_83
Command 83.
Definition: globals.h:262
Script2Game::EV_COMMANDS_39
@ EV_COMMANDS_39
Command 39.
Definition: globals.h:218
Script2Game::KC_LSHIFT
enum Script2Game::inputEvents KC_LSHIFT
Script2Game::EV_COMMANDS_37
@ EV_COMMANDS_37
Command 37.
Definition: globals.h:216
Script2Game::EV_COMMANDS_47
@ EV_COMMANDS_47
Command 47.
Definition: globals.h:226
Script2Game::KC_F4
enum Script2Game::inputEvents KC_F4
Script2Game::TS_SIMULATED
enum Script2Game::inputEvents TS_SIMULATED
Binding of RoR::ActorState.
Script2Game::KC_NUMPAD0
enum Script2Game::inputEvents KC_NUMPAD0
Script2Game::EV_CHARACTER_ROT_DOWN
@ EV_CHARACTER_ROT_DOWN
Definition: globals.h:175
Script2Game::EV_GRASS_NONE
@ EV_GRASS_NONE
EXPERIMENTAL: remove grass completely.
Definition: globals.h:322
Script2Game::EV_TRUCK_SHIFT_UP
@ EV_TRUCK_SHIFT_UP
shift one gear up in manual transmission mode
Definition: globals.h:393
Script2Game::MSG_SIM_SEAT_PLAYER_REQUESTED
@ MSG_SIM_SEAT_PLAYER_REQUESTED
Put player character in a vehicle. Params: 'instance_id' (int), use -1 to get out of vehicle.
Definition: globals.h:644
Script2Game::EV_COMMON_FOV_LESS
@ EV_COMMON_FOV_LESS
decreases the current FOV value
Definition: globals.h:275
Script2Game::EV_COMMON_FULLSCREEN_TOGGLE
@ EV_COMMON_FULLSCREEN_TOGGLE
Definition: globals.h:278
Script2Game::MSG_EDI_LOAD_BUNDLE_REQUESTED
@ MSG_EDI_LOAD_BUNDLE_REQUESTED
Load a resource bundle (= ZIP or directory) for a given cache entry. Params: 'cache_entry' (CacheEntr...
Definition: globals.h:663
Script2Game::MSG_SIM_UNHIDE_NET_ACTOR_REQUESTED
@ MSG_SIM_UNHIDE_NET_ACTOR_REQUESTED
Request revealing of hidden networked actor; used internally by top menubar. Params: 'instance_id' (i...
Definition: globals.h:647
Script2Game::KC_9
enum Script2Game::inputEvents KC_9
Script2Game::EV_COMMON_ENTER_CHATMODE
@ EV_COMMON_ENTER_CHATMODE
enter the chat mode
Definition: globals.h:269
Script2Game::EV_TRUCK_LIGHTTOGGLE06
@ EV_TRUCK_LIGHTTOGGLE06
toggle custom light 6
Definition: globals.h:359
Script2Game::EV_CAMERA_ZOOM_IN
@ EV_CAMERA_ZOOM_IN
zoom camera in
Definition: globals.h:166
Script2Game::EV_COMMANDS_73
@ EV_COMMANDS_73
Command 73.
Definition: globals.h:252
Script2Game::EV_TRUCK_HORN
@ EV_TRUCK_HORN
truck horn
Definition: globals.h:351
Script2Game::ScriptCategory
ScriptCategory
Binding of RoR::ScriptCategory ~ for game.pushMessage(MSG_APP_LOAD_SCRIPT_REQUESTED ....
Definition: globals.h:593
Script2Game::EV_COMMON_DECELERATE_SIMULATION
@ EV_COMMON_DECELERATE_SIMULATION
decelerate the simulation speed
Definition: globals.h:265
Script2Game::KC_F11
enum Script2Game::inputEvents KC_F11
Script2Game::MSG_GUI_MP_CLIENTS_REFRESH
@ MSG_GUI_MP_CLIENTS_REFRESH
No params.
Definition: globals.h:655
Script2Game::EV_COMMANDS_15
@ EV_COMMANDS_15
Command 15.
Definition: globals.h:194
Script2Game::KC_F7
enum Script2Game::inputEvents KC_F7
Script2Game::FlareType
FlareType
Binding of RoR::FlareType.
Definition: globals.h:551
Script2Game::EV_COMMANDS_81
@ EV_COMMANDS_81
Command 81.
Definition: globals.h:260
Script2Game::BLINK_LEFT
@ BLINK_LEFT
Definition: globals.h:571
Script2Game::MSG_SIM_SCRIPT_CALLBACK_QUEUED
@ MSG_SIM_SCRIPT_CALLBACK_QUEUED
Internal notification about triggering a script event, DO NOT PUSH MANUALLY.
Definition: globals.h:649
Script2Game::EV_TRUCK_SHIFT_HIGHRANGE
@ EV_TRUCK_SHIFT_HIGHRANGE
select high range (13-18) for H-shaft
Definition: globals.h:389
Script2Game::MSG_GUI_DOWNLOAD_FINISHED
@ MSG_GUI_DOWNLOAD_FINISHED
Background task notification, DO NOT PUSH MANUALLY.
Definition: globals.h:658
Script2Game::FLARE_TYPE_NONE
@ FLARE_TYPE_NONE
Definition: globals.h:552
Script2Game::EV_TRUCK_TOGGLE_TCASE_4WD_MODE
@ EV_TRUCK_TOGGLE_TCASE_4WD_MODE
toggle the transfer case 4wd mode
Definition: globals.h:404
Script2Game::FLARE_TYPE_DASHBOARD
@ FLARE_TYPE_DASHBOARD
Definition: globals.h:563
Script2Game::EV_AIRPLANE_THROTTLE_AXIS
@ EV_AIRPLANE_THROTTLE_AXIS
throttle axis. Only use this if you have fitting hardware :) (i.e. a Slider)
Definition: globals.h:136
Script2Game::EV_COMMANDS_54
@ EV_COMMANDS_54
Command 54.
Definition: globals.h:233
Script2Game::KC_SEMICOLON
enum Script2Game::inputEvents KC_SEMICOLON
Script2Game::KC_NUMPAD6
enum Script2Game::inputEvents KC_NUMPAD6
Script2Game::MODCACHEACTIVITY_BUNDLE_RELOADED
@ MODCACHEACTIVITY_BUNDLE_RELOADED
Args of RoR::SE_GENERIC_MODCACHE_NOTIFICATION: #1 type, #2 entry number, –, –, #5 rg name.
Definition: globals.h:112
Script2Game::FLARE_TYPE_FOG_LIGHT
@ FLARE_TYPE_FOG_LIGHT
Definition: globals.h:555
Script2Game::MSG_EDI_MODIFY_GROUNDMODEL_REQUESTED
@ MSG_EDI_MODIFY_GROUNDMODEL_REQUESTED
Used by Friction UI, DO NOT PUSH MANUALLY.
Definition: globals.h:660
Script2Game::KC_BACKSPACE
enum Script2Game::inputEvents KC_BACKSPACE
Script2Game::KC_NUMPAD5
enum Script2Game::inputEvents KC_NUMPAD5
Script2Game::KC_TAB
enum Script2Game::inputEvents KC_TAB
Script2Game::EV_TRUCK_BRAKE_MODIFIER_25
@ EV_TRUCK_BRAKE_MODIFIER_25
brake with 25 percent pedal input
Definition: globals.h:345
Script2Game::KC_PERIOD
enum Script2Game::inputEvents KC_PERIOD
Script2Game::EV_CHARACTER_SIDESTEP_RIGHT
@ EV_CHARACTER_SIDESTEP_RIGHT
sidestep to the right
Definition: globals.h:179
Script2Game::EV_AIRPLANE_AIRBRAKES_MORE
@ EV_AIRPLANE_AIRBRAKES_MORE
Definition: globals.h:120
Script2Game::KC_F6
enum Script2Game::inputEvents KC_F6
RoR::SE_TRUCK_PARKINGBRAKE_TOGGLE
@ SE_TRUCK_PARKINGBRAKE_TOGGLE
triggered when the user toggles the parking brake, the argument refers to the actor ID
Definition: ScriptEvents.h:43
Script2Game::EV_COMMON_OUTPUT_POSITION
@ EV_COMMON_OUTPUT_POSITION
write current position to log (you can open the logfile and reuse the position)
Definition: globals.h:284
Script2Game::EV_CAMERA_ROTATE_DOWN
@ EV_CAMERA_ROTATE_DOWN
rotate camera down
Definition: globals.h:161
Script2Game::EV_TRUCK_SHIFT_LOWRANGE
@ EV_TRUCK_SHIFT_LOWRANGE
select low range (1-6) for H-shaft
Definition: globals.h:390
Script2Game::SE_ALL_EVENTS
@ SE_ALL_EVENTS
An actor or person entered an eventbox; Arguments of eventCallbackEx(): #1 type, #2 Actor Instance ID...
Definition: globals.h:82
Script2Game::EV_SURVEY_MAP_TOGGLE
@ EV_SURVEY_MAP_TOGGLE
toggle overview-map mode
Definition: globals.h:331
Script2Game::ACTOR_MODIFY_REQUEST_RESET_ON_INIT_POS
enum Script2Game::BlinkType ACTOR_MODIFY_REQUEST_RESET_ON_INIT_POS
Script2Game::EV_COMMANDS_78
@ EV_COMMANDS_78
Command 78.
Definition: globals.h:257
Script2Game::EV_COMMANDS_36
@ EV_COMMANDS_36
Command 36.
Definition: globals.h:215
Script2Game::EV_CHARACTER_JUMP
@ EV_CHARACTER_JUMP
let the character jump
Definition: globals.h:172
Script2Game::EV_COMMANDS_32
@ EV_COMMANDS_32
Command 32.
Definition: globals.h:211
Script2Game::EV_COMMON_TRUCK_REMOVE
@ EV_COMMON_TRUCK_REMOVE
Definition: globals.h:318
Script2Game::EV_AIRPLANE_FLAPS_NONE
@ EV_AIRPLANE_FLAPS_NONE
no flaps.
Definition: globals.h:128
Script2Game::EV_COMMON_QUICKSAVE_01
@ EV_COMMON_QUICKSAVE_01
Definition: globals.h:410
Script2Game::EV_TRUCK_SHIFT_NEUTRAL
@ EV_TRUCK_SHIFT_NEUTRAL
shift to neutral gear in manual transmission mode
Definition: globals.h:392
Script2Game::KC_END
enum Script2Game::inputEvents KC_END
Script2Game::EV_AIRPLANE_THROTTLE_DOWN
@ EV_AIRPLANE_THROTTLE_DOWN
decreases the airplane thrust
Definition: globals.h:137
Script2Game::EV_TRUCK_SHIFT_GEAR05
@ EV_TRUCK_SHIFT_GEAR05
shift directly into this gear
Definition: globals.h:374
Script2Game::KC_F1
enum Script2Game::inputEvents KC_F1
Script2Game::EV_TRUCK_STARTER
@ EV_TRUCK_STARTER
hold to start the engine
Definition: globals.h:394
Script2Game::EV_TRUCK_LIGHTTOGGLE04
@ EV_TRUCK_LIGHTTOGGLE04
toggle custom light 4
Definition: globals.h:357
Script2Game::EV_COMMON_QUICKLOAD_06
@ EV_COMMON_QUICKLOAD_06
Definition: globals.h:426
RoR::SE_TRUCK_ENTER
@ SE_TRUCK_ENTER
triggered when switching from person mode to vehicle mode, the argument refers to the actor ID of the...
Definition: ScriptEvents.h:35
Script2Game::EV_AIRPLANE_STEER_RIGHT
@ EV_AIRPLANE_STEER_RIGHT
steer right
Definition: globals.h:134
Script2Game::EV_TRUCK_SHIFT_GEAR15
@ EV_TRUCK_SHIFT_GEAR15
shift directly into this gear
Definition: globals.h:384
Script2Game::EV_TRUCK_CRUISE_CONTROL
@ EV_TRUCK_CRUISE_CONTROL
toggle cruise control
Definition: globals.h:347
Script2Game::EV_COMMON_CONSOLE_TOGGLE
@ EV_COMMON_CONSOLE_TOGGLE
show / hide the console
Definition: globals.h:268
Script2Game::FLARE_TYPE_HIGH_BEAM
@ FLARE_TYPE_HIGH_BEAM
Definition: globals.h:554
Script2Game::EV_TRUCK_TOGGLE_INTER_WHEEL_DIFF
@ EV_TRUCK_TOGGLE_INTER_WHEEL_DIFF
toggle the inter wheel differential mode
Definition: globals.h:402
Script2Game::EV_TRUCK_SHIFT_GEAR03
@ EV_TRUCK_SHIFT_GEAR03
shift directly into this gear
Definition: globals.h:372
Script2Game::MSG_NET_CONNECT_PROGRESS
@ MSG_NET_CONNECT_PROGRESS
Networking notification, DO NOT PUSH MANUALLY.
Definition: globals.h:621
Script2Game::EV_COMMANDS_25
@ EV_COMMANDS_25
Command 25.
Definition: globals.h:204
Script2Game::KC_SPACE
enum Script2Game::inputEvents KC_SPACE
Script2Game::MSG_NET_OPEN_RESOURCE_SUCCESS
@ MSG_NET_OPEN_RESOURCE_SUCCESS
Background task notification, DO NOT PUSH MANUALLY.
Definition: globals.h:631
Script2Game::MSG_APP_REINIT_INPUT_REQUESTED
@ MSG_APP_REINIT_INPUT_REQUESTED
Request restarting the entire input subsystem (mouse, keyboard, controllers) including reloading inpu...
Definition: globals.h:617
Script2Game::EV_COMMANDS_53
@ EV_COMMANDS_53
Command 53.
Definition: globals.h:232
Script2Game::EV_SURVEY_MAP_ZOOM_OUT
@ EV_SURVEY_MAP_ZOOM_OUT
decrease survey map scale
Definition: globals.h:333
RoR::SE_GENERIC_EXCEPTION_CAUGHT
@ SE_GENERIC_EXCEPTION_CAUGHT
Triggered when C++ exception (usually Ogre::Exception) is thrown; #1 ScriptUnitID,...
Definition: ScriptEvents.h:61
Script2Game::FLARE_TYPE_BLINKER_RIGHT
@ FLARE_TYPE_BLINKER_RIGHT
Definition: globals.h:561
Script2Game::FLARE_TYPE_HEADLIGHT
@ FLARE_TYPE_HEADLIGHT
Definition: globals.h:553
Script2Game::KC_DOWN
enum Script2Game::inputEvents KC_DOWN
Script2Game::KC_8
enum Script2Game::inputEvents KC_8
Script2Game::EV_COMMANDS_44
@ EV_COMMANDS_44
Command 44.
Definition: globals.h:223
Script2Game::EV_TRUCK_TOGGLE_CONTACT
@ EV_TRUCK_TOGGLE_CONTACT
toggle ignition
Definition: globals.h:398
Script2Game::KC_ADD
enum Script2Game::inputEvents KC_ADD
Script2Game::TS_SLEEPING
enum Script2Game::inputEvents TS_SLEEPING
locally simulated but sleeping
Script2Game::EV_AIRPLANE_FLAPS_FULL
@ EV_AIRPLANE_FLAPS_FULL
full flaps in an aircraft.
Definition: globals.h:125
Script2Game::EV_TRUCK_BLINK_LEFT
@ EV_TRUCK_BLINK_LEFT
toggle left direction indicator (blinker)
Definition: globals.h:341
Script2Game::ASMANIP_SCRIPT_LOADED
@ ASMANIP_SCRIPT_LOADED
Triggered after the script's main() completed; may trigger additional processing (for example,...
Definition: globals.h:91
Script2Game::EV_COMMANDS_06
@ EV_COMMANDS_06
Command 6.
Definition: globals.h:185
Script2Game::inputEvents
inputEvents
Definition: globals.h:116
Script2Game::EV_COMMANDS_01
@ EV_COMMANDS_01
Command 1.
Definition: globals.h:180
Script2Game::KC_F12
enum Script2Game::inputEvents KC_F12
Script2Game::EV_TRUCK_STEER_LEFT
@ EV_TRUCK_STEER_LEFT
steer left
Definition: globals.h:395
RoR::SE_TRUCK_RESET
@ SE_TRUCK_RESET
triggered when the user resets the truck, the argument refers to the actor ID of the vehicle
Definition: ScriptEvents.h:50
Script2Game::EV_SKY_INCREASE_TIME_FAST
@ EV_SKY_INCREASE_TIME_FAST
increase day-time a lot faster
Definition: globals.h:154
Script2Game::EV_TRUCK_SHIFT_GEAR06
@ EV_TRUCK_SHIFT_GEAR06
shift directly into this gear
Definition: globals.h:375
Script2Game::ACTOR_MODIFY_REQUEST_INVALID
enum Script2Game::BlinkType ACTOR_MODIFY_REQUEST_INVALID
Binding of RoR::ActorModifyRequest::Type; use with MSG_SIM_MODIFY_ACTOR_REQUESTED
Script2Game::EV_MENU_DOWN
@ EV_MENU_DOWN
select next element in current category
Definition: globals.h:324
RoR::SE_ANGELSCRIPT_MSGCALLBACK
@ SE_ANGELSCRIPT_MSGCALLBACK
The diagnostic info directly from AngelScript engine (see asSMessageInfo), args: #1 ScriptUnitID,...
Definition: ScriptEvents.h:55
Script2Game::MSG_NET_USER_DISCONNECT
@ MSG_NET_USER_DISCONNECT
Networking notification, DO NOT PUSH MANUALLY.
Definition: globals.h:626
Script2Game::EV_SKY_DECREASE_TIME_FAST
@ EV_SKY_DECREASE_TIME_FAST
decrease day-time a lot faster
Definition: globals.h:152
Script2Game::MSG_NET_CONNECT_FAILURE
@ MSG_NET_CONNECT_FAILURE
Networking notification, DO NOT PUSH MANUALLY.
Definition: globals.h:623
Script2Game::EV_COMMANDS_65
@ EV_COMMANDS_65
Command 65.
Definition: globals.h:244
Script2Game::KC_F2
enum Script2Game::inputEvents KC_F2
Script2Game::KC_RBRACKET
enum Script2Game::inputEvents KC_RBRACKET
Script2Game::KC_5
enum Script2Game::inputEvents KC_5
Script2Game::EV_COMMANDS_04
@ EV_COMMANDS_04
Command 4.
Definition: globals.h:183
Script2Game::EV_AIRPLANE_AIRBRAKES_LESS
@ EV_AIRPLANE_AIRBRAKES_LESS
Definition: globals.h:119
Script2Game::EV_TRUCK_LEFT_MIRROR_LEFT
@ EV_TRUCK_LEFT_MIRROR_LEFT
Definition: globals.h:352
Script2Game::MSG_GUI_OPEN_SELECTOR_REQUESTED
@ MSG_GUI_OPEN_SELECTOR_REQUESTED
Use game.showChooser() instead.
Definition: globals.h:653
Script2Game::EV_COMMON_TRUCK_DESCRIPTION
@ EV_COMMON_TRUCK_DESCRIPTION
toggle truck description
Definition: globals.h:317
Script2Game::EV_AIRPLANE_THROTTLE
@ EV_AIRPLANE_THROTTLE
Definition: globals.h:135
Script2Game::KC_3
enum Script2Game::inputEvents KC_3
Script2Game::EV_COMMON_REPLAY_FAST_FORWARD
@ EV_COMMON_REPLAY_FAST_FORWARD
Definition: globals.h:294
Script2Game::EV_TRUCK_AUTOSHIFT_DOWN
@ EV_TRUCK_AUTOSHIFT_DOWN
shift automatic transmission one gear down
Definition: globals.h:339
Script2Game::TT_MACHINE
enum Script2Game::inputEvents TT_MACHINE
Script2Game::EV_AIRPLANE_THROTTLE_FULL
@ EV_AIRPLANE_THROTTLE_FULL
full thrust
Definition: globals.h:138
Script2Game::modCacheActivityType
modCacheActivityType
Argument #2 of script event RoR::SE_GENERIC_MODCACHE_ACTIVITY
Definition: globals.h:104
Script2Game::EV_COMMANDS_68
@ EV_COMMANDS_68
Command 68.
Definition: globals.h:247
Script2Game::EV_COMMON_TOGGLE_TRUCK_LIGHTS
@ EV_COMMON_TOGGLE_TRUCK_LIGHTS
toggle truck front lights
Definition: globals.h:315
Script2Game::EV_CAMERA_ZOOM_OUT_FAST
@ EV_CAMERA_ZOOM_OUT_FAST
zoom camera out faster
Definition: globals.h:169
Script2Game::EV_TRUCK_SHIFT_GEAR14
@ EV_TRUCK_SHIFT_GEAR14
shift directly into this gear
Definition: globals.h:383
Script2Game::EV_COMMON_ENTER_OR_EXIT_TRUCK
@ EV_COMMON_ENTER_OR_EXIT_TRUCK
enter or exit a truck
Definition: globals.h:270
Script2Game::EV_COMMANDS_24
@ EV_COMMANDS_24
Command 24.
Definition: globals.h:203
Script2Game::EV_COMMON_ENTER_NEXT_TRUCK
@ EV_COMMON_ENTER_NEXT_TRUCK
enter next truck
Definition: globals.h:271
Script2Game::SCRIPT_CATEGORY_INVALID
@ SCRIPT_CATEGORY_INVALID
Definition: globals.h:595
Script2Game::EV_TRUCK_TOGGLE_PHYSICS
@ EV_TRUCK_TOGGLE_PHYSICS
toggle physics simulation
Definition: globals.h:403
Script2Game::KC_F9
enum Script2Game::inputEvents KC_F9
Script2Game::EV_COMMANDS_45
@ EV_COMMANDS_45
Command 45.
Definition: globals.h:224
Script2Game::KC_NUMLOCK
enum Script2Game::inputEvents KC_NUMLOCK
Script2Game::KC_APOSTROPHE
enum Script2Game::inputEvents KC_APOSTROPHE
Script2Game::MSG_NET_CONNECT_SUCCESS
@ MSG_NET_CONNECT_SUCCESS
Networking notification, DO NOT PUSH MANUALLY.
Definition: globals.h:622
Script2Game::EV_SURVEY_MAP_ZOOM_IN
@ EV_SURVEY_MAP_ZOOM_IN
increase survey map scale
Definition: globals.h:332
Script2Game::EV_COMMANDS_51
@ EV_COMMANDS_51
Command 51.
Definition: globals.h:230
Script2Game::KC_BACKSLASH
enum Script2Game::inputEvents KC_BACKSLASH
Script2Game::ACTOR_MODIFY_REQUEST_WAKE_UP
enum Script2Game::BlinkType ACTOR_MODIFY_REQUEST_WAKE_UP
Script2Game::MSG_SIM_UNLOAD_TERRN_REQUESTED
@ MSG_SIM_UNLOAD_TERRN_REQUESTED
Request returning to main menu. No params.
Definition: globals.h:640
Script2Game::MSG_SIM_UNPAUSE_REQUESTED
@ MSG_SIM_UNPAUSE_REQUESTED
Unpause game. No params.
Definition: globals.h:637
Script2Game::KC_LWIN
enum Script2Game::inputEvents KC_LWIN
Script2Game::EV_COMMON_TOGGLE_CUSTOM_PARTICLES
@ EV_COMMON_TOGGLE_CUSTOM_PARTICLES
toggle particle cannon
Definition: globals.h:308
Script2Game::EV_BOAT_REVERSE
@ EV_BOAT_REVERSE
no thrust
Definition: globals.h:143
Script2Game::EV_COMMANDS_18
@ EV_COMMANDS_18
Command 18.
Definition: globals.h:197
Script2Game::EV_TRUCK_SHIFT_GEAR12
@ EV_TRUCK_SHIFT_GEAR12
shift directly into this gear
Definition: globals.h:381
Script2Game::EV_TRUCK_TRACTION_CONTROL
@ EV_TRUCK_TRACTION_CONTROL
toggle antilockbrake system
Definition: globals.h:407
Script2Game::EV_COMMON_SCREENSHOT_BIG
@ EV_COMMON_SCREENSHOT_BIG
take a BIG screenshot
Definition: globals.h:302
Script2Game::BLINK_WARN
@ BLINK_WARN
Definition: globals.h:573
Script2Game::EV_CAMERA_UP
@ EV_CAMERA_UP
Definition: globals.h:165
Script2Game::ASMANIP_SCRIPT_UNLOADING
@ ASMANIP_SCRIPT_UNLOADING
Triggered before unloading the script to let it clean up (important for missions).
Definition: globals.h:92
Script2Game::EV_AIRPLANE_ELEVATOR_DOWN
@ EV_AIRPLANE_ELEVATOR_DOWN
pull the elevator down in an aircraft.
Definition: globals.h:123
Script2Game::EV_COMMANDS_16
@ EV_COMMANDS_16
Command 16.
Definition: globals.h:195
Script2Game::EV_TRUCK_LEFT_MIRROR_RIGHT
@ EV_TRUCK_LEFT_MIRROR_RIGHT
Definition: globals.h:353
RoR::SE_TRUCK_LIGHT_TOGGLE
@ SE_TRUCK_LIGHT_TOGGLE
triggered when the main light is toggled, the argument refers to the actor ID
Definition: ScriptEvents.h:41
Script2Game::MSG_NET_REFRESH_SERVERLIST_FAILURE
@ MSG_NET_REFRESH_SERVERLIST_FAILURE
Background task notification, DO NOT PUSH MANUALLY.
Definition: globals.h:629
Script2Game::EV_GRASS_MORE
@ EV_GRASS_MORE
EXPERIMENTAL: add some grass.
Definition: globals.h:320
Script2Game::EV_MENU_RIGHT
@ EV_MENU_RIGHT
select next category
Definition: globals.h:326
Script2Game::EV_COMMANDS_41
@ EV_COMMANDS_41
Command 41.
Definition: globals.h:220
Script2Game::KC_NUMPAD8
enum Script2Game::inputEvents KC_NUMPAD8
Script2Game::MSG_APP_SCREENSHOT_REQUESTED
@ MSG_APP_SCREENSHOT_REQUESTED
Capture screenshot. No params.
Definition: globals.h:609
Script2Game::MSG_EDI_CREATE_PROJECT_REQUESTED
@ MSG_EDI_CREATE_PROJECT_REQUESTED
Creates a subdir under 'projects/', pre-populates it and adds to modcache. Params: 'name' (string),...
Definition: globals.h:666
Script2Game::MSG_APP_DISPLAY_WINDOWED_REQUESTED
@ MSG_APP_DISPLAY_WINDOWED_REQUESTED
Switch to windowed display. No params.
Definition: globals.h:611
Script2Game::EV_COMMON_TOGGLE_RENDER_MODE
@ EV_COMMON_TOGGLE_RENDER_MODE
toggle render mode (solid, wireframe and points)
Definition: globals.h:310
Script2Game::TT_AI
enum Script2Game::inputEvents TT_AI
Script2Game::EV_COMMANDS_10
@ EV_COMMANDS_10
Command 10.
Definition: globals.h:189
Script2Game::KC_RWIN
enum Script2Game::inputEvents KC_RWIN
Script2Game::EV_AIRPLANE_ELEVATOR_UP
@ EV_AIRPLANE_ELEVATOR_UP
pull the elevator up in an aircraft.
Definition: globals.h:124
Script2Game::TT_NOT_DRIVEABLE
enum Script2Game::inputEvents TT_NOT_DRIVEABLE
Binding of RoR::ActorType.
Script2Game::EV_COMMON_QUICKSAVE_06
@ EV_COMMON_QUICKSAVE_06
Definition: globals.h:415
Script2Game::EV_CAMERA_DOWN
@ EV_CAMERA_DOWN
Definition: globals.h:156
Script2Game::EV_AIRPLANE_TOGGLE_ENGINES
@ EV_AIRPLANE_TOGGLE_ENGINES
switch all engines on / off
Definition: globals.h:141
Script2Game::KC_RSHIFT
enum Script2Game::inputEvents KC_RSHIFT
Script2Game::EV_COMMON_SCREENSHOT
@ EV_COMMON_SCREENSHOT
take a screenshot
Definition: globals.h:301
Script2Game::EV_BOAT_STEER_LEFT
@ EV_BOAT_STEER_LEFT
steer left a step
Definition: globals.h:144
Script2Game::EV_COMMON_QUICKSAVE_10
@ EV_COMMON_QUICKSAVE_10
Definition: globals.h:419
Script2Game::EV_SURVEY_MAP_TOGGLE_ICONS
@ EV_SURVEY_MAP_TOGGLE_ICONS
toggle map icons
Definition: globals.h:329
Script2Game::EV_COMMANDS_61
@ EV_COMMANDS_61
Command 61.
Definition: globals.h:240
Script2Game::KC_F5
enum Script2Game::inputEvents KC_F5
Script2Game::EV_TRUCK_PARKING_BRAKE
@ EV_TRUCK_PARKING_BRAKE
toggle parking brake
Definition: globals.h:365
Script2Game::MSG_SIM_HIDE_NET_ACTOR_REQUESTED
@ MSG_SIM_HIDE_NET_ACTOR_REQUESTED
Request hiding of networked actor; used internally by top menubar. Params: 'instance_id' (int)
Definition: globals.h:646
Script2Game::KC_7
enum Script2Game::inputEvents KC_7
Script2Game::EV_CHARACTER_ROT_UP
@ EV_CHARACTER_ROT_UP
Definition: globals.h:176
Script2Game::EV_TRUCK_TRAILER_PARKING_BRAKE
@ EV_TRUCK_TRAILER_PARKING_BRAKE
toggle trailer parking brake
Definition: globals.h:366
Script2Game::EV_TRUCK_SHIFT_GEAR01
@ EV_TRUCK_SHIFT_GEAR01
shift directly into this gear
Definition: globals.h:370
Script2Game::EV_TRUCK_SHIFT_GEAR18
@ EV_TRUCK_SHIFT_GEAR18
shift directly into this gear
Definition: globals.h:387
RoR::SE_TRUCK_TELEPORT
@ SE_TRUCK_TELEPORT
triggered when the user teleports the truck, the argument refers to the actor ID of the vehicle
Definition: ScriptEvents.h:51
Script2Game::MSG_NET_CONNECT_REQUESTED
@ MSG_NET_CONNECT_REQUESTED
Request connection to multiplayer server specified by cvars 'mp_server_host, mp_server_port,...
Definition: globals.h:619
Script2Game::FLARE_TYPE_BRAKE_LIGHT
@ FLARE_TYPE_BRAKE_LIGHT
Definition: globals.h:557
Script2Game::EV_COMMANDS_43
@ EV_COMMANDS_43
Command 43.
Definition: globals.h:222
Script2Game::EV_COMMON_TRUCK_INFO
@ EV_COMMON_TRUCK_INFO
toggle truck HUD
Definition: globals.h:316
Script2Game::EV_COMMON_TOGGLE_RESET_MODE
@ EV_COMMON_TOGGLE_RESET_MODE
toggle truck reset truck mode (soft vs. hard)
Definition: globals.h:298
Script2Game::EV_TRUCK_SHIFT_GEAR16
@ EV_TRUCK_SHIFT_GEAR16
shift directly into this gear
Definition: globals.h:385
Script2Game::EV_AIRPLANE_RUDDER_RIGHT
@ EV_AIRPLANE_RUDDER_RIGHT
rudder right
Definition: globals.h:132
Script2Game::EV_TRUCK_CRUISE_CONTROL_DECL
@ EV_TRUCK_CRUISE_CONTROL_DECL
decrease target speed / rpm
Definition: globals.h:349
Script2Game::MSG_SIM_LOAD_TERRN_REQUESTED
@ MSG_SIM_LOAD_TERRN_REQUESTED
Request loading terrain. Param 'filename' (string)
Definition: globals.h:638
Script2Game::EV_COMMANDS_33
@ EV_COMMANDS_33
Command 33.
Definition: globals.h:212
Script2Game::EV_COMMANDS_58
@ EV_COMMANDS_58
Command 58.
Definition: globals.h:237
Script2Game::EV_TRUCK_RIGHT_MIRROR_LEFT
@ EV_TRUCK_RIGHT_MIRROR_LEFT
Definition: globals.h:367
Script2Game::EV_TRUCK_BLINK_WARN
@ EV_TRUCK_BLINK_WARN
toggle all direction indicators
Definition: globals.h:343
Script2Game::ASTHREADSTATUS_CURLSTRING_FAILURE
@ ASTHREADSTATUS_CURLSTRING_FAILURE
Args of RoR::SE_ANGELSCRIPT_THREAD_STATUS: arg#1 type, arg#2 HTTP code, arg#3 CURLcode,...
Definition: globals.h:100
RoR::SE_TRUCK_TOUCHED_WATER
@ SE_TRUCK_TOUCHED_WATER
triggered when any part of the actor touches water, the argument refers to the actor ID
Definition: ScriptEvents.h:40
Script2Game::EV_COMMON_QUICKSAVE_02
@ EV_COMMON_QUICKSAVE_02
Definition: globals.h:411
Script2Game::EV_COMMON_TOGGLE_STATS
@ EV_COMMON_TOGGLE_STATS
toggle Ogre statistics (FPS etc.)
Definition: globals.h:313
Script2Game::EV_CHARACTER_SIDESTEP_LEFT
@ EV_CHARACTER_SIDESTEP_LEFT
sidestep to the left
Definition: globals.h:178
Script2Game::MSG_APP_MODCACHE_PURGE_REQUESTED
@ MSG_APP_MODCACHE_PURGE_REQUESTED
Request cleanup and full rebuild of mod cache.
Definition: globals.h:614
Script2Game::EV_TRUCK_TOGGLE_VIDEOCAMERA
@ EV_TRUCK_TOGGLE_VIDEOCAMERA
toggle videocamera update
Definition: globals.h:406
Script2Game::EV_COMMON_SEND_CHAT
@ EV_COMMON_SEND_CHAT
send the chat text
Definition: globals.h:304
Script2Game::EV_COMMON_TOGGLE_MAT_DEBUG
@ EV_COMMON_TOGGLE_MAT_DEBUG
debug purpose - dont use (currently not used)
Definition: globals.h:309
Script2Game::KC_UP
enum Script2Game::inputEvents KC_UP
Script2Game::TT_TRUCK
enum Script2Game::inputEvents TT_TRUCK
Script2Game::EV_COMMANDS_56
@ EV_COMMANDS_56
Command 56.
Definition: globals.h:235
Script2Game::EV_COMMANDS_28
@ EV_COMMANDS_28
Command 28.
Definition: globals.h:207
Script2Game::EV_COMMANDS_57
@ EV_COMMANDS_57
Command 57.
Definition: globals.h:236
Script2Game::EV_COMMON_ACCELERATE_SIMULATION
@ EV_COMMON_ACCELERATE_SIMULATION
accelerate the simulation speed
Definition: globals.h:264
Script2Game::EV_COMMON_QUICKSAVE_03
@ EV_COMMON_QUICKSAVE_03
Definition: globals.h:412
Script2Game::EV_TRUCK_SHIFT_GEAR04
@ EV_TRUCK_SHIFT_GEAR04
shift directly into this gear
Definition: globals.h:373
Script2Game::EV_CAMERA_CHANGE
@ EV_CAMERA_CHANGE
change camera mode
Definition: globals.h:155
Script2Game::EV_COMMON_REPLAY_FAST_BACKWARD
@ EV_COMMON_REPLAY_FAST_BACKWARD
Definition: globals.h:293
Script2Game::EV_COMMANDS_46
@ EV_COMMANDS_46
Command 46.
Definition: globals.h:225
Script2Game::EV_TRUCK_AUTOSHIFT_UP
@ EV_TRUCK_AUTOSHIFT_UP
shift automatic transmission one gear up
Definition: globals.h:340
Script2Game::MSG_SIM_PAUSE_REQUESTED
@ MSG_SIM_PAUSE_REQUESTED
Pause game. No params.
Definition: globals.h:636
Script2Game::EV_TRUCK_TOGGLE_FORWARDCOMMANDS
@ EV_TRUCK_TOGGLE_FORWARDCOMMANDS
toggle forwardcommands
Definition: globals.h:399
Script2Game::EV_COMMANDS_77
@ EV_COMMANDS_77
Command 77.
Definition: globals.h:256
Script2Game::KC_LALT
enum Script2Game::inputEvents KC_LALT
Script2Game::EV_COMMANDS_11
@ EV_COMMANDS_11
Command 11.
Definition: globals.h:190
Script2Game::EV_COMMANDS_23
@ EV_COMMANDS_23
Command 23.
Definition: globals.h:202
Script2Game::EV_BOAT_CENTER_RUDDER
@ EV_BOAT_CENTER_RUDDER
center the rudder
Definition: globals.h:142
RoR::SE_TRUCK_BEACONS_TOGGLE
@ SE_TRUCK_BEACONS_TOGGLE
triggered when the user toggles beacons, the argument refers to the actor ID
Definition: ScriptEvents.h:44
Script2Game::EV_COMMANDS_75
@ EV_COMMANDS_75
Command 75.
Definition: globals.h:254
Script2Game::EV_COMMON_QUICKLOAD_07
@ EV_COMMON_QUICKLOAD_07
Definition: globals.h:427
Script2Game::EV_COMMANDS_84
@ EV_COMMANDS_84
Command 84.
Definition: globals.h:263
RoR::SE_EVENTBOX_EXIT
@ SE_EVENTBOX_EXIT
Actor or person left an eventbox; arguments: #1 type, #2 actorID (actor only), #3 unused,...
Definition: ScriptEvents.h:33
Script2Game::EV_TRUCK_BRAKE_MODIFIER_50
@ EV_TRUCK_BRAKE_MODIFIER_50
brake with 50 percent pedal input
Definition: globals.h:346
Script2Game::EV_TRUCK_TOGGLE_TCASE_GEAR_RATIO
@ EV_TRUCK_TOGGLE_TCASE_GEAR_RATIO
toggle the transfer case gear ratio
Definition: globals.h:405
Script2Game::KC_MULTIPLY
enum Script2Game::inputEvents KC_MULTIPLY
Script2Game::scriptEvents
scriptEvents
Binding of RoR::scriptEvents; All the events that can be used by the script.
Definition: globals.h:46
Script2Game::EV_AIRPLANE_FLAPS_MORE
@ EV_AIRPLANE_FLAPS_MORE
one step more flaps.
Definition: globals.h:127
Script2Game::KC_F3
enum Script2Game::inputEvents KC_F3
Script2Game::EV_TRUCK_LIGHTTOGGLE10
@ EV_TRUCK_LIGHTTOGGLE10
toggle custom light 10
Definition: globals.h:363
Script2Game::EV_MENU_LEFT
@ EV_MENU_LEFT
select previous category
Definition: globals.h:325
Script2Game::EV_COMMANDS_35
@ EV_COMMANDS_35
Command 35.
Definition: globals.h:214
Script2Game::EV_COMMANDS_71
@ EV_COMMANDS_71
Command 71.
Definition: globals.h:250
Script2Game::FLARE_TYPE_TAIL_LIGHT
@ FLARE_TYPE_TAIL_LIGHT
Definition: globals.h:556
Script2Game::EV_COMMANDS_52
@ EV_COMMANDS_52
Command 52.
Definition: globals.h:231
Script2Game::EV_CAMERA_ROTATE_LEFT
@ EV_CAMERA_ROTATE_LEFT
rotate camera left
Definition: globals.h:162
Script2Game::EV_COMMANDS_66
@ EV_COMMANDS_66
Command 66.
Definition: globals.h:245
Script2Game::KC_LEFT
enum Script2Game::inputEvents KC_LEFT
Script2Game::EV_COMMON_QUICKSAVE_09
@ EV_COMMON_QUICKSAVE_09
Definition: globals.h:418
Script2Game::EV_AIRPLANE_BRAKE
@ EV_AIRPLANE_BRAKE
normal brake for an aircraft.
Definition: globals.h:122
Script2Game::EV_SKY_INCREASE_TIME
@ EV_SKY_INCREASE_TIME
increase day-time
Definition: globals.h:153
Script2Game::MSG_APP_DISPLAY_FULLSCREEN_REQUESTED
@ MSG_APP_DISPLAY_FULLSCREEN_REQUESTED
Switch to fullscreen. No params.
Definition: globals.h:610
Script2Game::EV_COMMANDS_82
@ EV_COMMANDS_82
Command 82.
Definition: globals.h:261
Script2Game::KC_SCROLLLOCK
enum Script2Game::inputEvents KC_SCROLLLOCK
Script2Game::EV_COMMON_LOCK
@ EV_COMMON_LOCK
connect hook node to a node in close proximity
Definition: globals.h:281
Script2Game::MSG_NET_FETCH_AI_PRESETS_SUCCESS
@ MSG_NET_FETCH_AI_PRESETS_SUCCESS
Background task notification, DO NOT PUSH MANUALLY.
Definition: globals.h:633
Script2Game::EV_COMMANDS_38
@ EV_COMMANDS_38
Command 38.
Definition: globals.h:217
Script2Game::EV_TRUCK_LIGHTTOGGLE07
@ EV_TRUCK_LIGHTTOGGLE07
toggle custom light 7
Definition: globals.h:360
Script2Game::MSG_NET_CONNECT_STARTED
@ MSG_NET_CONNECT_STARTED
Networking notification, DO NOT PUSH MANUALLY.
Definition: globals.h:620
Script2Game::EV_SKY_DECREASE_TIME
@ EV_SKY_DECREASE_TIME
decrease day-time
Definition: globals.h:151
Script2Game::EV_COMMON_REPLAY_FORWARD
@ EV_COMMON_REPLAY_FORWARD
Definition: globals.h:295
Script2Game::EV_COMMON_QUIT_GAME
@ EV_COMMON_QUIT_GAME
exit the game
Definition: globals.h:290
Script2Game::EV_TRUCK_SHIFT_GEAR10
@ EV_TRUCK_SHIFT_GEAR10
shift directly into this gear
Definition: globals.h:379
Script2Game::EV_COMMON_SAVE_TERRAIN
@ EV_COMMON_SAVE_TERRAIN
save terrain mesh to file
Definition: globals.h:300
Script2Game::MSG_APP_UNLOAD_SCRIPT_REQUESTED
@ MSG_APP_UNLOAD_SCRIPT_REQUESTED
Request unloading a script; Param 'id' (int - the ID of the script unit, see 'Script Monitor' tab in ...
Definition: globals.h:616
Script2Game::EV_COMMON_FOV_MORE
@ EV_COMMON_FOV_MORE
increases the current FOV value
Definition: globals.h:276
Script2Game::EV_COMMON_PRESSURE_MORE
@ EV_COMMON_PRESSURE_MORE
increase tire pressure (note: only very few trucks support this)
Definition: globals.h:287
Script2Game::EV_TRUCK_SHIFT_GEAR_REVERSE
@ EV_TRUCK_SHIFT_GEAR_REVERSE
shift directly into this gear
Definition: globals.h:388
Script2Game::EV_TRUCK_TOGGLE_INTER_AXLE_DIFF
@ EV_TRUCK_TOGGLE_INTER_AXLE_DIFF
toggle the inter axle differential mode
Definition: globals.h:401
Script2Game::KC_NUMPAD3
enum Script2Game::inputEvents KC_NUMPAD3
Script2Game::EV_AIRPLANE_RUDDER_LEFT
@ EV_AIRPLANE_RUDDER_LEFT
rudder left
Definition: globals.h:131
Script2Game::KC_2
enum Script2Game::inputEvents KC_2
Script2Game::EV_TRUCK_LIGHTTOGGLE09
@ EV_TRUCK_LIGHTTOGGLE09
toggle custom light 9
Definition: globals.h:362
Script2Game::ACTOR_MODIFY_REQUEST_RESET_ON_SPOT
enum Script2Game::BlinkType ACTOR_MODIFY_REQUEST_RESET_ON_SPOT
Script2Game::EV_TRUCK_BRAKE
@ EV_TRUCK_BRAKE
brake
Definition: globals.h:344
Script2Game::EV_COMMANDS_14
@ EV_COMMANDS_14
Command 14.
Definition: globals.h:193
Script2Game::EV_TRUCK_SHIFT_GEAR09
@ EV_TRUCK_SHIFT_GEAR09
shift directly into this gear
Definition: globals.h:378
Script2Game::EV_COMMANDS_13
@ EV_COMMANDS_13
Command 13.
Definition: globals.h:192
Script2Game::EV_COMMON_TOGGLE_DEBUG_VIEW
@ EV_COMMON_TOGGLE_DEBUG_VIEW
toggle debug view mode
Definition: globals.h:305
RoR::SE_ANGELSCRIPT_EXCEPTIONCALLBACK
@ SE_ANGELSCRIPT_EXCEPTIONCALLBACK
The diagnostic info directly from AngelScript engine (see SetExceptionCallback()),...
Definition: ScriptEvents.h:57
Script2Game::EV_COMMANDS_03
@ EV_COMMANDS_03
Command 3.
Definition: globals.h:182
Script2Game::EV_COMMANDS_69
@ EV_COMMANDS_69
Command 69.
Definition: globals.h:248
Script2Game::EV_COMMANDS_21
@ EV_COMMANDS_21
Command 21.
Definition: globals.h:200
Script2Game::KC_NUMPAD2
enum Script2Game::inputEvents KC_NUMPAD2
RoR::SE_GENERIC_DELETED_TRUCK
@ SE_GENERIC_DELETED_TRUCK
triggered when the user deletes an actor, the argument refers to the actor ID
Definition: ScriptEvents.h:48
Script2Game::EV_CAMERA_RESET
@ EV_CAMERA_RESET
reset the camera position
Definition: globals.h:160
Script2Game::EV_TRUCKEDIT_RELOAD
@ EV_TRUCKEDIT_RELOAD
Definition: globals.h:432
Script2Game::EV_COMMANDS_63
@ EV_COMMANDS_63
Command 63.
Definition: globals.h:242
Script2Game::KC_0
enum Script2Game::inputEvents KC_0
Script2Game::EV_COMMON_NETCHATMODE
@ EV_COMMON_NETCHATMODE
Definition: globals.h:283
Script2Game::EV_AIRPLANE_AIRBRAKES_NONE
@ EV_AIRPLANE_AIRBRAKES_NONE
Definition: globals.h:121
Script2Game::MSG_GUI_CLOSE_SELECTOR_REQUESTED
@ MSG_GUI_CLOSE_SELECTOR_REQUESTED
No params.
Definition: globals.h:654
Script2Game::EV_COMMANDS_59
@ EV_COMMANDS_59
Command 59.
Definition: globals.h:238
Script2Game::EV_COMMANDS_08
@ EV_COMMANDS_08
Command 8.
Definition: globals.h:187
Script2Game::MsgType
MsgType
Binding of RoR::MsgType; Global gameplay message loop.
Definition: globals.h:604
Script2Game::EV_CAMERA_ROTATE_RIGHT
@ EV_CAMERA_ROTATE_RIGHT
rotate camera right
Definition: globals.h:163
Script2Game::EV_COMMANDS_19
@ EV_COMMANDS_19
Command 19.
Definition: globals.h:198
Script2Game::MSG_SIM_SPAWN_ACTOR_REQUESTED
@ MSG_SIM_SPAWN_ACTOR_REQUESTED
Request spawning an actor. Params: 'filename' (string), 'position' (vector3), 'rotation' (quaternion)...
Definition: globals.h:641
RoR::SE_ANGELSCRIPT_THREAD_STATUS
@ SE_ANGELSCRIPT_THREAD_STATUS
Sent by background threads (i.e. CURL) when there's something important (like finishing a download)....
Definition: ScriptEvents.h:58
Script2Game::EV_CAMERA_FREE_MODE
@ EV_CAMERA_FREE_MODE
Definition: globals.h:157
Script2Game::EV_TRUCK_ACCELERATE_MODIFIER_50
@ EV_TRUCK_ACCELERATE_MODIFIER_50
accelerate with 50 percent pedal input
Definition: globals.h:337
Script2Game::MSG_SIM_TELEPORT_PLAYER_REQUESTED
@ MSG_SIM_TELEPORT_PLAYER_REQUESTED
Teleport player character anywhere on terrain. Param 'position' (vector3)
Definition: globals.h:645
Script2Game::MSG_NET_RECV_ERROR
@ MSG_NET_RECV_ERROR
Networking notification, DO NOT PUSH MANUALLY.
Definition: globals.h:627
Script2Game::EV_COMMON_REPLAY_BACKWARD
@ EV_COMMON_REPLAY_BACKWARD
Definition: globals.h:292
Script2Game::EV_BOAT_THROTTLE_AXIS
@ EV_BOAT_THROTTLE_AXIS
throttle axis. Only use this if you have fitting hardware :) (i.e. a Slider)
Definition: globals.h:148
Script2Game::print
void print(const string message)
This is an alias for game.log(string message).
Script2Game::MSG_SIM_MODIFY_ACTOR_REQUESTED
@ MSG_SIM_MODIFY_ACTOR_REQUESTED
Request change of actor. Params: 'type' (enum ActorModifyRequestType)
Definition: globals.h:642
Script2Game::EV_COMMON_QUICKLOAD
@ EV_COMMON_QUICKLOAD
quickload scene from the disk
Definition: globals.h:288
Script2Game::BLINK_NONE
@ BLINK_NONE
Definition: globals.h:570
RoR::SE_TRUCK_CPARTICLES_TOGGLE
@ SE_TRUCK_CPARTICLES_TOGGLE
triggered when the user toggles custom particles, the argument refers to the actor ID
Definition: ScriptEvents.h:45
Script2Game::EV_COMMANDS_64
@ EV_COMMANDS_64
Command 64.
Definition: globals.h:243
Script2Game::EV_COMMANDS_74
@ EV_COMMANDS_74
Command 74.
Definition: globals.h:253
Script2Game::EV_AIRPLANE_AIRBRAKES_FULL
@ EV_AIRPLANE_AIRBRAKES_FULL
Definition: globals.h:118
Script2Game::FLARE_TYPE_BLINKER_LEFT
@ FLARE_TYPE_BLINKER_LEFT
Definition: globals.h:560
Script2Game::SCRIPT_CATEGORY_CUSTOM
@ SCRIPT_CATEGORY_CUSTOM
Loaded by user via either: A) ingame console 'loadscript'; B) RoR.cfg 'diag_custom_scripts'; C) comma...
Definition: globals.h:598
Script2Game::KC_COMMA
enum Script2Game::inputEvents KC_COMMA
Script2Game::EV_COMMANDS_17
@ EV_COMMANDS_17
Command 17.
Definition: globals.h:196