Gurkan1337 Posted June 17, 2016 Share Posted June 17, 2016 (edited) Hello everyone, i got new ideas for debug console and i would like someone to add them or tell me. Please someone answer. Edited June 18, 2016 by Gurkan1337 Link to comment Share on other sites More sharing options...
smalldjo Posted June 19, 2016 Share Posted June 19, 2016 create a .ws file in "modMyCommands/content/scripts/local " , in that file create functions like this example:exec function dosomthing(){//put here what you want to do} now put modMyCommands folder inside your mods folder and that's it.you can call your command by the function name 'dosomthing' examples from the game's scripts : exec function RestoreStamina( optional val : int ){ if( val == 0 ){val = 1000;} thePlayer.GainStat( BCS_Stamina, val );} exec function addexp( amount : int ){if( amount > 0 ){GetWitcherPlayer().AddPoints(EExperiencePoint, amount, false );}} see content0/scripts/game/player/playerCheats.ws for example. Link to comment Share on other sites More sharing options...
Recommended Posts