User Tools

Site Tools


script:world_event:setskyboxmaps

SetSkyBoxMaps

  • Parameters & Types:
    • time: number of game hours
    • itype: number map type (SKYBOXMAP) SKYBOXMAP
  • url:string image link
  • Return value and type:
    • code:number succeeded (ErrorCode.OK) ErrorCode
  • The main purpose of this method: Set the skybox map
  • Specific use cases are as follows:
local code  = World:SetSkyBoxMaps(itype, url)
if code == ErrorCode.OK then
    print('Execution Successful'  )
else
    print('Execution failed')
end
script/world_event/setskyboxmaps.txt · Last modified: 2024/06/16 13:45 by don