dimitriov Posted December 21, 2018 Posted December 21, 2018 Hi guys ;) Currently working on this vehicle for the Frenchpack : http://www.checksix-forums.com/viewtopic.php?f=432&t=202704&start=225 I would need some help from wise men here. I'd like to be able, using a custom key, to set the value of an ARG on let's say for the example 100%. I'd like the player to be able to use the dampener adjustment system. If you can help me, you're welcome :) Thank you ;) Nicolas
fl0w Posted December 22, 2018 Posted December 22, 2018 (edited) You could go about ways creating a custom iCommand. That or use an iCommand that wont be used with the mod's purpose. You can then use a function to set the argument, ie. set_aircraft_draw_argument_value(number, state) Replace number as your argument number and state between 0 or 1. In this case, 100% will be 1. To get the state, just divide percent value by 100. EDIT: As for your dampener system, I am not quite sure. I have never coded any mod base for ground assets as I do not have Combined Arms for what you want to control them. I hope I was able to help! Edited December 22, 2018 by Sirius
Recommended Posts