irswat Posted April 27, 2014 Share Posted April 27, 2014 I want to find out what keys the player is using for movement. For example what button moves forward, backwards, side to side, strife. Is there a command in GECK or NVSE that can do this? Link to comment Share on other sites More sharing options...
pintocat Posted April 27, 2014 Share Posted April 27, 2014 http://www.gribbleshnibit.com/projects/NVSEDocs/#GetControl Check the functions that include "control" in the name. Link to comment Share on other sites More sharing options...
irswat Posted April 27, 2014 Author Share Posted April 27, 2014 I can't search for "What key is move forward"? Link to comment Share on other sites More sharing options...
pintocat Posted April 27, 2014 Share Posted April 27, 2014 ... you didn't look at the linked page, did you? http://www.gribbleshnibit.com/projects/NVSEDocs/#Control_Codes Link to comment Share on other sites More sharing options...
irswat Posted April 27, 2014 Author Share Posted April 27, 2014 thank you. can I ask you another question? How can I get the position of a reference relative to the player? (e.g. is the reference in danger of being stepped on if the player is a mech) Link to comment Share on other sites More sharing options...
pintocat Posted April 27, 2014 Share Posted April 27, 2014 http://geck.bethsoft.com/index.php?title=GetHeadingAnglehttp://geck.bethsoft.com/index.php?title=GetPoshttp://geck.bethsoft.com/index.php?title=GetAnglehttp://geck.bethsoft.com/index.php?title=GetDistance Link to comment Share on other sites More sharing options...
irswat Posted April 27, 2014 Author Share Posted April 27, 2014 I know of all of these. When I use GetPos and it returns an x,y,z value, how is that x,y,z calculated? Is it relative to a 4096x4096 cell with 0,0 being in the very middle?If this is true then how can I find out the position of a referencer relative to me? I can compare x,y,z positions of player to reference but how can I tell if the reference is in front of the player, behind the player, next to the player, etc? If I'm facing south and an npc is in front of me, their y position will be less than mine relative to the world, but if I'm facing north the npc would have a y coordinate higher than mine. Link to comment Share on other sites More sharing options...
Recommended Posts