SHOW:
|
|
- or go back to the newest paste.
1 | - | [] spawn { |
1 | + | _video = { |
2 | - | with uiNamespace do { |
2 | + | _type = typeOf _x; |
3 | - | _tv = "Land_Billboard_F" createVehicle (player modelToWorld [0,1,0]); |
3 | + | if(_type isEqualTo "Land_Billboard_F")then |
4 | - | _tv setObjectTexture [0,"Intro1.ogv"]; |
4 | + | { |
5 | _type setObjectTexture [0,"Intro1.ogv"]; | |
6 | disableSerialization; | |
7 | 1100 cutRsc ["RscMissionScreen","PLAIN"]; | |
8 | _scr = BIS_RscMissionScreen displayCtrl 1100; | |
9 | _scr ctrlSetPosition [-10,-10,0,0]; | |
10 | - | _scr ctrlAddEventHandler ["VideoStopped", { |
10 | + | |
11 | - | (uiNamespace getVariable "BIS_RscMissionScreen") closeDisplay 1; |
11 | + | _scr ctrlAddEventHandler ["VideoStopped", {(uiNamespace getVariable "BIS_RscMissionScreen") closeDisplay 1;}]; |
12 | - | }]; |
12 | + | |
13 | }; | |
14 | - | }; |
14 | + | } forEach _x; |