Lua接口/服务端/AllocateMonsterGroup
来自雪舞天龙知识库
分配一个怪物编组并返回编组编号。
Lua 调用
AllocateMonsterGroup(sceneId)
服务端脚本中未检索到该接口的调用点(已检索 4419 个随包脚本)。
实现位于 LuaFnTbl_Monster.h。
参数
| 序号 | 参数 / 类型 | 说明 |
|---|---|---|
| 1 | sceneIdnumber
|
当前调用所在的场景 ID。 |
返回值
返回 1 个值。返回类型包括 number。明确的固定返回组合包括 -1。
调用示例
未检索到随包脚本中的真实调用。按上方参数表给出调用形态:
local result = AllocateMonsterGroup(sceneId)