SouthSaturnDelta 1 Posted October 27, 2007 Yarr, dont see this about anywhere. Anyone know what the defines are for being in 1st person and 3rd person? Thanks, SSD Share this post Link to post Share on other sites
fasad 1 Posted October 27, 2007 I know the turn animations are only played when in 3rd person view (eg "amovpercmstpsraswrfldnon_turnl"), but that requires the player to be turning (and I don't know how it works in MP either). I'm trying to a better test working, checking if a vector drawn from the players head intersects with his "view" lod, but the view lod seems to return nothing (no named selections?). edit : positionCameraToWorld [0,0,0] reports the camera's world positon. Try something like : <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">if (getPos player distance (positionCameraToWorld [0,0,0]) >= 2) then {3rdPersonViewActive = true} Players in vehicles will probably need different tests. Share this post Link to post Share on other sites
SouthSaturnDelta 1 Posted October 28, 2007 Thank you so much Fasad - would have never thought of that. Have the command working well for inf, now to experiment with various vehicles. SSD Share this post Link to post Share on other sites