|Description:|| Controls whether the IG view should be treated as inside or outside the vehicle it is attached to. If the view is treated as being inside the vehicle, the vehicle is rendered in front of the rest of the scene.|
Note: This command requires the view to be attached to an object. Otherwise, there is no change.
|Syntax:||[inside] call IG_OnSetCameraInside|
|Return Value:||Boolean - Returns true if the command is successful, false otherwise.|
When using functions in VBS versions older than 3.4, certain limitations and requirements should be kept in mind - the main ones being that capitalization of the function name is crucial, and that #include "\vbs2\headers\function_library.hpp" has to be included in every script that utilizes it. More Category VBS Scripting Functions.
// Sets the view to "inside" [true] call IG_SetCameraInside;
|See also:||IG ChangeView, Gateway ViewAttachGroup|