MacRae 12 Posted August 19, 2013 (edited) Hey Everyone, Here is my Simple Sitting Script: http://i.imgur.com/qWBNRxM.jpg (272 kB) 1.Download the mod at the link at the bottom of the page. 2.Extract the Chair folder into your mission folder. 3.Create a file called init.sqf and add this into that file. MAC_fnc_switchMove = { private["_object","_anim"]; _object = _this select 0; _anim = _this select 1; _object switchMove _anim; }; 4.Place a Camping Chair on the map. (Found at Tents>Camping Chair) 5.Add this in the initialization: this addAction ["<t color='#0099FF'>Sit Down</t>","Chair\sitdown.sqf"] Now when you get in game, you will new get the option to sit down! (You can change #0099FF in the Init script to change the colour of the the text in game!) Download Link: GameFront http://www.gamefront.com/files/23625426/MacRae%27s+Chair+Script.zip Download Link: MediaFire http://www.mediafire.com/download/w8b6g52kvjgzevi/MacRae%27s_Chair_Script.zip Feedback will be appreciated! Edited August 19, 2013 by MacRae 1 1 Share this post Link to post Share on other sites
pokertour 30 Posted August 19, 2013 Hi, i can't download the file =/ Share this post Link to post Share on other sites
MacRae 12 Posted August 19, 2013 Ahh right i see, Erm do you know a File sharing website that works for you that i can upload it to? Share this post Link to post Share on other sites
kylania 568 Posted August 19, 2013 mediafire.com is pretty quick and easy as long as you have adblock. :) Share this post Link to post Share on other sites
pokertour 30 Posted August 19, 2013 yes mediafire.com is great :) Share this post Link to post Share on other sites
MacRae 12 Posted August 19, 2013 okay, thanks guys ill upload it there and tell you when the link is updated! Share this post Link to post Share on other sites
MacRae 12 Posted August 19, 2013 Right guys link is updated! Share this post Link to post Share on other sites
MacRae 12 Posted August 19, 2013 No problem man, What do you think of it anything i can improve on? Share this post Link to post Share on other sites
MacRae 12 Posted August 19, 2013 Awesome, anything you can think of ill sort it out! Share this post Link to post Share on other sites
pokertour 30 Posted August 19, 2013 hey you can put your function : MAC_fnc_switchMove = { private["_object","_anim"]; _object = _this select 0; _anim = _this select 1; _object switchMove _anim; in your sitdown .sqf just before this line : [[_unit, "Crew"], "MAC_fnc_switchMove"] spawn BIS_fnc_MP; Share this post Link to post Share on other sites
MacRae 12 Posted August 19, 2013 But the code - switchMove is a local script, so you need to add MAC_fnc_switchMove = { private["_object","_anim"]; _object = _this select 0; _anim = _this select 1; _object switchMove _anim; into the init.sqf so that everone in multiplayer can see the animation Share this post Link to post Share on other sites
MacRae 12 Posted August 19, 2013 is it working for you tho? Share this post Link to post Share on other sites
pokertour 30 Posted August 19, 2013 just try in local Share this post Link to post Share on other sites
MacRae 12 Posted August 19, 2013 Well im glad it works Share this post Link to post Share on other sites
byrgesen 1 Posted August 24, 2013 (edited) We have tryed it out and we ran into a small issue. Ive applied it to alot of chairs, so dunno if a big amount of chairs will cause any issues. So the problem. Sometimes when people sit down, they sit fine on they're own screen but on my screen they are prone under the chair. Is this something you have heard about before? Does it have anything to do with the placement of the code in the init.sqf? (lower or higher in the file or something) Hope you can help mate, its a nice script but if this keeps doing this we cannot use it :( Ohh forgot to add ive got: this allowDamage false; In all chairs btw. Also just tested something else, a relog fixes the issue. Sorry, forgot to mention this happens unarmed, havent done it with weapons. Edited August 24, 2013 by Byrgesen Share this post Link to post Share on other sites
MacRae 12 Posted August 25, 2013 Hey man, Thankyou for the feedback, At the moment im not sure why this is happening for you, Because currently i have only used this script on the Camping chairs, (Found at Tents>Camping Chair) And i have tested the script with multiple people joining, and it has worked for me... But i will try and fix your problem for you tonight, Sorry this is happening to you! Share this post Link to post Share on other sites
kdk11 1 Posted August 25, 2013 Once in the seat can you get back out? Share this post Link to post Share on other sites
kylania 568 Posted August 25, 2013 You know the old Strathian saying... "Once you're in the chair you're staying there!" Share this post Link to post Share on other sites
kdk11 1 Posted August 25, 2013 I dont... But I think I understand your meaning behind it lol Share this post Link to post Share on other sites
MacRae 12 Posted August 26, 2013 Yeah you can get bak out of the chair once your in it KDK11 Share this post Link to post Share on other sites
kdk11 1 Posted August 26, 2013 I think al download this to see how you managed to do that then. I need a similar type thing for making AI be able to sit at side of helicopter then get back out/move back to normal seat Share this post Link to post Share on other sites