Jump to content
Sign in to follow this  
Marshal

How do you get objects to sit on top of others?

Recommended Posts

Im trying to get a civilian to sit on a toilet..lol. How do I get him to sit on the toilet rather than look likes hes merged with it? biggrin_o.gif

Share this post


Link to post
Share on other sites

the only thing i can think of is using this code:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this setpos [getpos this select 0, getpos this select 1, (getpos this select 2) +?]

change the question mark 2 the height. (just dont use the number to high or he will be sat on the roof!)

just play around with it until u r happy with it!

Share this post


Link to post
Share on other sites
Guest

Also be aware that every object has a location point (a single "point" or dot) used to locate it. OFP doesn't handle these points being exactly on top of each other too well. For instance if you are trying to put one barrel on top of another they can "merge" and flicker. You need to ever so slightly offset things. smile_o.gif

Share this post


Link to post
Share on other sites

I tried this and it works fine with objects but not with people?

Any ideas?

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  

×