Modme Forums

Having a console command set on start up

Game Modding | Call of Duty: Black Ops 3 | Scripting


Smurphy:

I want to make it so when you go into a map on my mod it will do a console command. How could i go about doing this


Spiki:

I want to make it so when you go into a map on my mod it will do a console command. How could i go about doing this



SetDvar(<dvar>,<value>);


Smurphy:

So where I put this?, I wanted the command to be activate at the start of a game and every time you respawn since it resets


Spiki:

So where I put this?, I wanted the command to be activate at the start of a game and every time you respawn since it resets

what are you trying to do


RaGe-74:

Sounds like he's trying to enable pull down console ~ like the other COD's


Smurphy:

what are you trying to do

Right so if you change cg_fov via a bind it will change the guns fov not the actually fov. so by changing the cg_fov to 65 it will put the viewmodel in the fov as it was in other cods.