Jump to content

First mod, putting fast travel on cooldown


Recommended Posts

No problem set a global variable on a timer

 

pHC_Rule_NoFastTravel.Setvalue(1) ; disable fast travel

pHC_Rule_NoFastTravel.Setvalue(0) ; enable fast travel

 

best to store the ACTUAL value before setting, and reset that value as the player may be in standard (enabled) vanilla survival (disabled) or hacked survival (enabled).

 

fOriginalValue = pHC_Rule_NoFastTravel.GetValue()

pHC_Rule_NoFastTravel.Setvalue(1) ; disable fast travel

 

StartTimer then OnTimer ....
pHC_Rule_NoFastTravel.Setvalue(fOriginalValue) ;reset to whatever it was
Now hit www.creationkit.com/fallout4 with the script commands and glue it together. Have fun ...
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...