User Tools

Site Tools


script:world_event:settimevanishingspeed

SetTimeVanishingSpeed

  • Parameters & Types:
    • speed: number skybox time
  • Return value and type:
    • code:number succeeded (ErrorCode.OK) ErrorCode
  • The main purpose of this method: Set the skybox time lapse velocity
  • Specific use cases are as follows:
local code  = World:SetTimeVanishingSpeed(speed)
if code == ErrorCode.OK then
    print('Execution Successful'  )
else
    print('Execution failed')
end
script/world_event/settimevanishingspeed.txt · Last modified: 2024/06/10 14:34 by don