So let's open a and also ISBur圜a into a code editorīy reading the timed action script we learned that isValid method return a boolean that define if the action can run or not. I chose ISBur圜a and I want to prevent the player from being able to bury a corpse if he is too hungry. Now let's choose a timed action to Hook into by browsing into C:/Program Files (x86)/Steam/steamapps/common/ProjectZomboid/media/lua/client/TimedActions Let's create a client file into C:/Zomboid/mods/examplemod/media/lua/client/a Yes but more specifically, I need to Hook into a timed action.Ĭan we just skip the talk and see code example? I want to make it so the player cannot do a specific action for a some new reasons.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |