Home
Lua documentation is in construction! 🚧
For now, use these alternatives:
Lua code​
sledgehammer.lua
local renderables = {
"$GAME_DATA/Character/Char_Tools/Char_sledgehammer/char_sledgehammer.rend"
}
local renderablesTp = {"$GAME_DATA/Character/Char_Male/Animations/char_male_tp_sledgehammer.rend", "$GAME_DATA/Character/Char_Tools/Char_sledgehammer/char_sledgehammer_tp_animlist.rend"}
local renderablesFp = {"$GAME_DATA/Character/Char_Tools/Char_sledgehammer/char_sledgehammer_fp_animlist.rend"}
sm.tool.preloadRenderables( renderables )
sm.tool.preloadRenderables( renderablesTp )
sm.tool.preloadRenderables( renderablesFp )