Search the Community
Showing results for tags 'cuttext'.
Found 3 results
-
cutText showed for the one activated trigger
Firewall233 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi,guys I want to create a trigger that can simply teleport someone whoever enters the trigger from some place to another place.Here is what I wrote in trigger's OnActivation: thisList select 0 execVM "teleport.sqf" And here's "teleport.sqf" _victim = _this; _index = round random 2; _range = 5; _dir = random 360; _posSphere_1 = getMarkerPos "marker_Sphere_1"; _posSphere_2 = getMarkerPos "marker_Sphere_2"; _posSphere_3 = getMarkerPos "marker_Sphere_3"; _pos = [_posSphere_1,_posSphere_2,_posSphere_3] select _index; _id = clientOwner; //maybe "clientOwner" returned 0 to "_id" so cutText executed on every client [["","BLACK OUT"]] remoteExec ["cutText",_id,false]; sleep 4; removeAllAssignedItems _victim; _victim unlinkItem "ItemGPS"; _victim unlinkItem "ItemMap"; _victim unlinkItem "ItemWatch"; _victim unlinkItem "ItemCompass"; removeAllWeapons _victim; removeAllItemsWithMagazines _victim; _victim setPos _pos; sleep 4; [["succeeded","BLACK IN",5]] remoteExec ["cutText",_id,false]; I tested this code with a friend (on a dedicated server) and it turned out "BLACK OUT" effect and "BLACK IN" effect worked not only on the client who activated the trigger but also the one who didn't. I didn't know how remoteExec works in this code so I try to find solutions in BI forums and I got nothing.I sincerely hope you can help me. -
Hey guys. Does anyone know a way to hide the vanilla "RscTitles", say the "binocular" one (configFile >> "RscTitles" >> "binocular")? This command works with custom created cutRsc's, but not with vanilla ones (those created by the engine): cutText ["", "PLAIN"]; //OR ("binocular" call BIS_fnc_rscLayer) cutText ["","PLAIN"]; In other words, I want to hide the binocular "HUD" (the black layers covering the display and also the "crosshair") Any help would be appreciated!
-
Hi, new to scripting don't blame this pls :P On trigger activation this = execVM "startBriefing" So this will start the cutscene. cutText ["", "BLACK FADED"]; [0,0,false] spawn BIS_fnc_cinemaBorder; sleep 2; titleCut ["", "BLACK IN", 10]; alexander setDir (alexander getDir briefingAlex); alexander switchMove "Hubspectator_walk"; Everything works. But the problem is that every one gets the "Black Faded" and the "cinematic borders" How do I make it that a specific player (the one who triggers) gets the cut scene. I hope you can help me! Alexander (UltraBrain)