Heist83 2 Posted May 22, 2015 I was lately quite disappointed to learn iron sight even exists... You may laugh but I made the entire campaign in first perspective aiming normally, thinking I was doing it right since there was nothing specifying me that I can toggle another aiming mode (or I missed it). Btw, since the game resets this aiming value whenever you reload it I just wish to get rid of this first pointless aiming status by forcing whenever player is alive, to set aiming type n°2. CAM.IS_FIRST_PERSON_AIM_CAM_ACTIVE() > returns true only for snipers CAM.IS_AIM_CAM_ACTIVE() > returns true with mouse right clik (normal aiming) CONTROLS.GET_LOCAL_PLAYER_AIM_STATE() > always returns 3 I didn't find the actual native to get the state change between aiming, nor the native to change this setting. PLAYER.SET_PLAYER_SIMULATE_AIMING(Player player, BOOL toggle) > seems to perform a real quick animationPLAYER.SET_PLAYER_FORCED_AIM(Player player, BOOL toggle) > can't un-aimPLAYER.SET_PLAYER_FORCED_ZOOM(Player player, BOOL toggle) > didn't see changes Is this possible ? While I'm at it, thinking lazy, I'm also tired of all the toggle buttons from all mods around, is there a set_key_pressed command ? Any help would be appreciated. Quote Share this post Link to post Share on other sites
Heist83 2 Posted May 24, 2015 It may also be possible to invert aiming 1 and 2 with changing values in update.rpf > x64 > data > control But I have no idea what to look for... I've looked all around internet for a keypress command, I tried many without success, is it because it's not part of the lua plugin, nor of the game engine ? Quote Share this post Link to post Share on other sites