武装突袭 Wiki
注册
Advertisement
Introduced with Operation Flashpoint version 1.00
  Arguments of this scripting command don't have to be local to the client the command is executed on

点击图片可看到更多讯息

开始使用于

游戏:
Operation Flashpoint
版本:
1.00

描述

描述:
Returns the group a unit is assigned to.

基本句法

句法:
group object
参数:
object: Object
返回值:
Group - For dead units, the returned group equals grpNull.

范例

范例1:
_playerGrp = group player

额外资讯

多人游戏:
-
问题:
In MP the command is not initialised in functions called by initline or init eventhandlers.
也可以看看:
localjoinleaderunitsallGroupsgroupIDsetGroupIdsetGroupIdGlobal

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?

Notes

Posted on August 19, 2006 - 12:00
jafarin
Few rules about group in OFP:R.
1) When last man in group die or is moved to other group, group will be destroyed, and it can't be used anymore.
2) 1st man joined to empty group will be group leader.

Bottom Section

Advertisement