Difference between revisions of "Script callbacks"
From Mashinky
Line 19: | Line 19: | ||
[[Category:Modding]] | [[Category:Modding]] | ||
[[Category:Scripts]] | [[Category:Scripts]] | ||
− | |||
[[Category:Script callbacks]] | [[Category:Script callbacks]] |
Latest revision as of 09:06, 23 October 2017
Callback list
Callbacks
- OnStart()
- OnLoad()
- OnTick()
- OnButton(tag)
- OnConstruct()
- OnCamera()
- OnGameDay()
- OnGameMonth()
- OnGameYear()
- OnCargoLoad(train, stop, cargo, amount)
- OnCargoUnload(train, stop, cargo, amount)
- OnAddVehicle(hash)
- OnRmvVehicle()