CabConModding
Facebook
Twitter
youtube
Discord
Contact us
RSS
Menu
CabConModding
Home
New
Top
Premium
Rules
FAQ - Frequently Asked Questions
Games
Fornite
Call of Duty: Black Ops 3
Clash of Clans
Grand Theft Auto 5
Apex Legends
Assassin’s Creed Origins
Forums
Premium
Latest posts
What's new
Latest posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Log in
Register
What's new
Premium
Latest posts
Menu
Log in
Register
Navigation
Install the app
Install
More options
Dark Theme
Contact us
Close Menu
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 3
Call of Duty: Black Ops 3 Mods and Scripts
Call of Duty: Black Ops 3 Scripts
Call of Duty: Black Ops 3 Scripts Question
Call of Duty: Black Ops 3 Answered Questions
Need a simple script to run different commands by pressing button combos
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="SCP" data-source="post: 15378" data-attributes="member: 25893"><p> <ol> <li data-xf-list-type="ol">Yes, there is a way. CabCon is working on that already and I think he will make a thread about it soon in our Bo3 Script section -> <a href="https://cabconmodding.com/forums/call-of-duty-black-ops-3-scripts.81/" target="_blank">Call of Duty: Black Ops 3 Scripts | CabConModding</a></li> <li data-xf-list-type="ol">Yes, there is:<ol> <li data-xf-list-type="ol">You can make a function which toggles it due a variable:<br /> [CODE]function func_dvarToggle()<br /> {<br /> if(!isDefined(self.dvar_function))<br /> {<br /> self.dvar_function = true;<br /> setDvar( "playerEnergy_enabled", 1 );<br /> }<br /> else<br /> {<br /> self.dvar_function = undefined;<br /> setDvar( "playerEnergy_enabled", 0 );<br /> }<br /> }[/CODE]</li> <li data-xf-list-type="ol">Or you can use the ! operator: <br /> [CODE]function func_dvarToggle()<br /> {<br /> setDvar( "playerEnergy_enabled", !getDvarInt("playerEnergy_enabled") );<br /> }[/CODE]</li> </ol></li> <li data-xf-list-type="ol">Here you go:<br /> [CODE]self ActionSlotOneButtonPressed() - DPAD Up<br /> self ActionSlotTwoButtonPressed() - DPAD Down<br /> self ActionSlotThreeButtonPressed() - DPAD Left<br /> self ActionSlotFourButtonPressed() - DPAD Right<br /> self AttackButtonPressed() - RT/R1<br /> self AdsButtonPressed() - LT/L1<br /> self SecondaryOffhandButtonPressed() - LB/L2<br /> self FragButtonPressed() - RB/R2<br /> self JumpButtonPressed() - A/X<br /> self UseButtonPressed() - X/Square<br /> self MeleeButtonPressed() - RS/R3<br /> self ChangeSeatButtonPressed() - Y/Triangle<br /> self ThrowButtonPressed() - B/O[/CODE]</li> <li data-xf-list-type="ol">Yes, there is just type in the dvar and the value with a / before the dvar. Example /playerEnergy_enabled 0</li> </ol><p></p><p>Thank you,</p><p>Regards,</p><p>SCP.</p></blockquote><p></p>
[QUOTE="SCP, post: 15378, member: 25893"] [LIST=1] [*]Yes, there is a way. CabCon is working on that already and I think he will make a thread about it soon in our Bo3 Script section -> [url="https://cabconmodding.com/forums/call-of-duty-black-ops-3-scripts.81/"]Call of Duty: Black Ops 3 Scripts | CabConModding[/url] [*]Yes, there is: [LIST=1] [*]You can make a function which toggles it due a variable: [CODE]function func_dvarToggle() { if(!isDefined(self.dvar_function)) { self.dvar_function = true; setDvar( "playerEnergy_enabled", 1 ); } else { self.dvar_function = undefined; setDvar( "playerEnergy_enabled", 0 ); } }[/CODE] [*]Or you can use the ! operator: [CODE]function func_dvarToggle() { setDvar( "playerEnergy_enabled", !getDvarInt("playerEnergy_enabled") ); }[/CODE] [/LIST] [*]Here you go: [CODE]self ActionSlotOneButtonPressed() - DPAD Up self ActionSlotTwoButtonPressed() - DPAD Down self ActionSlotThreeButtonPressed() - DPAD Left self ActionSlotFourButtonPressed() - DPAD Right self AttackButtonPressed() - RT/R1 self AdsButtonPressed() - LT/L1 self SecondaryOffhandButtonPressed() - LB/L2 self FragButtonPressed() - RB/R2 self JumpButtonPressed() - A/X self UseButtonPressed() - X/Square self MeleeButtonPressed() - RS/R3 self ChangeSeatButtonPressed() - Y/Triangle self ThrowButtonPressed() - B/O[/CODE] [*]Yes, there is just type in the dvar and the value with a / before the dvar. Example /playerEnergy_enabled 0 [/LIST] Thank you, Regards, SCP. [/QUOTE]
Verification
Post reply
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 3
Call of Duty: Black Ops 3 Mods and Scripts
Call of Duty: Black Ops 3 Scripts
Call of Duty: Black Ops 3 Scripts Question
Call of Duty: Black Ops 3 Answered Questions
Need a simple script to run different commands by pressing button combos
CabConModding is now on facebook! Check the latest Updates, the Site Status and much more now!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top