Ink. 10 Posted July 27, 2014 http://i.imgur.com/MkQbpW5.jpg Is there anyway I can use coordinates to modify his position while he's still in the animation, so that I can have him sitting more properly? I would prefer this to be done via local exec while I'm ingame as he'll have more to do. I've gotta do ~10 of these with varying anims. It would be soooo much easier to do if I can just tell them to move their x y or z coordinates specifically so if they are too far infront I can push them back, or too high to push them lower, so it appears they're sitting in the seat(s). I've done: player setPos [1,1,1] But that just set me over the ocean. Is there anyway I can move myself by a few coords (so I could set my model lower so he fits with the seat better)? Share this post Link to post Share on other sites
maruk 80 Posted July 27, 2014 See https://community.bistudio.com/wiki/setPos So something like [url="https://community.bistudio.com/wiki/player"]player[/url][color=#000000][font=Lucida Console] setPos [ [/font][/color][url="https://community.bistudio.com/wiki/getPos"]getPos[/url][color=#000000][font=Lucida Console] this [/font][/color][url="https://community.bistudio.com/wiki/select"]select[/url][color=#000000][font=Lucida Console] 0, [/font][/color][url="https://community.bistudio.com/wiki/getPos"]getPos[/url][color=#000000][font=Lucida Console] this [/font][/color][url="https://community.bistudio.com/wiki/select"]select[/url][color=#000000][font=Lucida Console] 1, ([/font][/color][url="https://community.bistudio.com/wiki/getPos"]getPos[/url][color=#000000][font=Lucida Console] this [/font][/color][url="https://community.bistudio.com/wiki/select"]select[/url][color=#000000][font=Lucida Console] 2) -1] [/font][/color] should do it Share this post Link to post Share on other sites
Smurf 12 Posted July 27, 2014 Wow! This is even funny. Good old times huh? Share this post Link to post Share on other sites
asuseroako 17 Posted July 27, 2014 Bohemia Interactive bossman Marek Španěl. Awesome! :cool: Share this post Link to post Share on other sites
Ink. 10 Posted July 27, 2014 Will this work in local exec while I'm ingame? Doesn't seem to be working. Share this post Link to post Share on other sites
5133p39 16 Posted July 27, 2014 I faintly recall some problem with such positioning before a simulation even started, saddly i don't remember exactly what was going on (and i might be wrong), but if it doesn't work, try adding some sleep before you issue the setPos command. Share this post Link to post Share on other sites