OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Humvee on 02 Aug 2006, 19:21:07
-
Hi guys im making this addon and now i wonder:
say im making a simple chair as an object
is it possible to make it so that whenever you are near the chair a line appears in the menu, commanding "Sit".
and then your unit sits down on the chair in a specified location?
cheers
-
make it a static object with a cargo proxy. there would be something like "getin chair" instead of sit, but that's the easiest way IMO.
a more difficult way would be to add an action to the chair, and when activated the person closest to the chair would be forced into an animation and setpos'ed relative to the chair. that way you would have your "sit"-action. IMO not a very smooth solution though
-
the "getin" sounds like a very good option as it isn't really a chair but something else but its top secret :p
and getin works for it.. now ill just have to go and find out how to config it all :p
cheers