Jump to content

Recommended Posts

Ok I would like to have it so in multiplayer you can go up to bleachers and sit down multiple people, I have this script for a chair but how would I do it so the script would check if seat 1 is taken then put them in seat two. I can get all the points of the bleacher to sit but I dont know how to script it so that it will put a player in spot 2 if spot 1 is empty.

_chair = _this select 0; 
_unit = _this select 1; 

_unit switchMove "sitUnarm_L_idleLoop2"; 
_unit setPos (getPos _chair); 
_unit setDir ((getDir _chair) - 90); 
standup = _unit addaction ["Stand Up", "101st_scripts\chair\r_chairup.sqf"];  
_unit setpos [getpos _unit select 0, getpos _unit select 1,((getpos _unit select 2) +4)];

---------- Post added 12-06-2012 at 12:02 AM ---------- Previous post was 12-05-2012 at 11:03 PM ----------

Ok its been awhile, I started finding all the available spots on the bleachers but ran into a problem, I cannot adjust the height, I can edit where but he always ends in the same height. Not sure how I can fix this. I tried ATL and ASL but I haven't done any scripting in awhile so I probably missed something.

Share this post


Link to post
Share on other sites

Could I place a gamelogic at a certain height and have the player sit on that to get the different levels of the bench?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×