User Tools

Site Tools


script:world_event:setskyboxtemplate

SetSkyBoxTemplate

  • Parameters & Types:
    • value: the value of the number parameter (0-9)
  • Return value and type:
    • code:number succeeded (ErrorCode.OK) ErrorCode
  • The main purpose of this method: Set up the skybox template
  • Specific use cases are as follows:
local code  = World:SetSkyBoxTemplate(value)
if code == ErrorCode.OK then
    print('Execution Successful'  )
else
    print('Execution failed')
end
script/world_event/setskyboxtemplate.txt · Last modified: 2024/06/16 13:43 by don