Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- File: fn_blindfolded.sqf
- Author: lowheartrate
- Description:
- What happens to the player when blindfolded.
- */
- private["_blindfolder"]
- // This is the player that we brought over to the script originally so this is the blindfolder.
- _blindfolder = param[0,ObjNull,[ObjNull]];
- hint format["You have been blindfolded by %1.", _gagger getVariable["realname",_gagger]];
- titleText ["You have been blindfolded, you cannot see!", "PLAIN"];
- // Disable the players view (Makes their screen black).
- cutText["You are blindfolded and cannot see.","BLACK FADED"];
- 0 cutFadeOut 1;
- // Waituntil the player is no longer blindfolded or is not restrained then lets enable their sight again.
- waitUntil{!(player getVariable ["blindfolded",false]) OR !(player getVariable ["restrained",false])};
- hint "You are no longer blindfolded, LET THERE BE LIGHT!";
- titleText ["You are no longer blindfolded, LET THERE BE LIGHT!", "PLAIN"];
- // Enables their sight again
- titlecut [" ","BLACK IN",3];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement