This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hello I am new to lua and coding.i am making a mod for project zomboid I have been watching tutorials. I am working on creating my first mod but cannot grasp the coding. I could use some help with the following.
What I am trying to accomplish is have it that when a certain code runs that it would then cause another code to run. For Instance I want that each time a zombie dies then display the game time.
Events.OnZombieDead. then display gametime.
Is there a proper way to have one code trigger another
Can IF and Then be used? Thank you.
--
Subreddit
Post Details
- Posted
- 3 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/lua/comment...