Skip to content
ER系列指令系统手册
搜索文档
K
Main Navigation
首页
指令手册
更新日志
Appearance
Menu
Return to top
页面导航
random 取随机数
random 为取随机数函数。
指令格式
random(min, max)
random(最小值, 最大值)
参数详细说明
参数
类型
说明
min
int
随机数范围的最小值
max
int
随机数范围的最大值
函数返回值
:int 型常量。