User Tools

Site Tools


script:world_event:setskyboxfilter

SetSkyBoxFilter

  • Parameters & Types:
    • itype: number parameter type (SKYBOXFILTER) SKYBOXFILTER
    • value:number: parameter value (0~100) or string: hexadecimal color value (0xffffff)
  • Return value and type:
    • code:number succeeded (ErrorCode.OK) ErrorCode
  • The main purpose of this method is: Set the skybox filter parameters (including the filter template)
  • Specific use cases are as follows:
local code  = World:SetSkyBoxFilter(playerid, itype, value)
if code == ErrorCode.OK then
    print('Execution Successful'  )
else
    print('Execution failed')
end
script/world_event/setskyboxfilter.txt · Last modified: 2024/06/16 13:49 by don