Discuz! Board

标题: [代码|Code]设置地图亮度|Set BSP Light [打印本页]

作者: Jerry小坏    时间: 2017-7-13 16:56
标题: [代码|Code]设置地图亮度|Set BSP Light
Function:
  1. set_lights(const Lighting[])// engine.inc
复制代码


Type:

native

Notes:

[CN]
本函数值为a到z,a是最暗,z是最亮,m是正常亮度[]
你也可以使用多个值让亮度不停地改变[]

[EN]
Use a-z for different lights: a is darkest, z is brightest, m = normal.
use multiple letters to have it alternate eg. giving it az will make it go really bright, then really dark, then really bright, etc.

  1. set_lights("a")
复制代码



  1. set_lights("z")
复制代码



  1. set_lights("az")
复制代码








欢迎光临 Discuz! Board (https://esfbbs.foxnyx.top/) Powered by Discuz! X3.2