Scripts not running properly

I've followed this tutorial (https://www.saintsrowmods.com/forum/threads/how-to-run-a-custom-sriv-gameplay-script.14313/) in how to create gameplay scripts for SR4. I implement the example script the guide describes which is:

Code:
function gameplay_dynamic_tod_init()
   dynamic_tod_enable(true)
end

The result of this seems to allow me to disable and enable the moon's movement in my game. At the end of the tutorial the guide gives a link to the following documentation page:
https://www.saintsrowmods.com/Kinzies-Toy-Box/script_actions/_script_actions_index.html
https://www.saintsrowmods.com/Kinzies-Toy-Box/script_actions/_script_actions_index.html
But so far all the function I've tested on this page do not work. Including: message, players_naked, character_ragdoll, and character_kill.

So I just want to confirm if there are other steps that are not listed in the guide I need to follow to make these functions run properly.
 
The documentation you are reading, Kinzie's Toy Box, is for Saints Row: The Third -- not Saints Row IV. Some of the functions are the same in Saints Row IV, but many are different or have the same name but different parameters. So you can't assume everything in that document will work for Saints Row IV.

In addition, some of that documentation is inaccurate, even for Saints Row: The Third, as I discovered.
 
Last edited:
Thanks for the reply! Is there a documentation page for SR4 that is like the Sr3 documentation page? Would make modding much easier.
 
Back
Top